diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-02 21:38:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-02 21:38:16 +0000 |
commit | 28f6bfdc3ea1f2d34a05855f0459caa96c8fe2b6 (patch) | |
tree | 094d89e84844aaebd9f86e89f4646fe956e5febb /plugins/Clist_nicer/src/clcmsgs.cpp | |
parent | 40b39cebd5aa00ee8150f84a2b7987b5595ef2fc (diff) |
minor cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@13976 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clcmsgs.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clcmsgs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/clcmsgs.cpp b/plugins/Clist_nicer/src/clcmsgs.cpp index dc85033317..c7e9df06f7 100644 --- a/plugins/Clist_nicer/src/clcmsgs.cpp +++ b/plugins/Clist_nicer/src/clcmsgs.cpp @@ -87,15 +87,16 @@ LRESULT ProcessExternalMessages(HWND hwnd, struct ClcData *dat, UINT msg, WPARAM return 0;
case CLM_SETFONT:
- if (HIWORD(lParam)>FONTID_LAST)
+ if (HIWORD(lParam) > FONTID_LAST)
return 0;
+
dat->fontInfo[HIWORD(lParam)].hFont = (HFONT)wParam;
dat->fontInfo[HIWORD(lParam)].changed = 1;
RowHeight::getMaxRowHeight(dat, hwnd);
if (LOWORD(lParam))
- InvalidateRect(hwnd,NULL,FALSE);
+ InvalidateRect(hwnd, NULL, FALSE);
return 0;
case CLM_ISMULTISELECT:
|