diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-05 22:14:09 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-05 22:14:09 +0000 |
commit | 18a91339f2d9e1449887f5d993ab2f038ff56833 (patch) | |
tree | c5ee079c530794040fee8d2cfb497bd799545735 /plugins/TabSRMM/src/infopanel.cpp | |
parent | b915069a9d7ad8d4da5da7a7d92d3e73a0a65346 (diff) |
TabSRMM: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12344 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/infopanel.cpp')
-rw-r--r-- | plugins/TabSRMM/src/infopanel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index 85889fd2ec..9e660bcf3d 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -356,8 +356,10 @@ void CInfoPanel::renderContent(const HDC hdc) else {
RECT rc = m_dat->rcNick;
- if (m_height >= DEGRADE_THRESHOLD)
- rc.top -= 2; rc.bottom -= 2;
+ if (m_height >= DEGRADE_THRESHOLD) {
+ rc.top -= 2;
+ rc.bottom -= 2;
+ }
Chat_RenderIPNickname(hdc, rc);
if (m_height >= DEGRADE_THRESHOLD) {
|