summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clcmsgs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/clcmsgs.cpp')
-rw-r--r--plugins/Clist_nicer/src/clcmsgs.cpp5
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: