diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-06 23:28:19 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-06 23:28:19 +0000 |
commit | 1dd73910cbbf9062b62b4713ff88427011fcac85 (patch) | |
tree | e747e8055920ceb6feef9798fa3c71120f0c1350 /plugins/Clist_nicer/src/clcmsgs.cpp | |
parent | 052236c2ce0e28176d18cfdf08ac258cbf7600a1 (diff) |
Clist_nicer:
- Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clcmsgs.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clcmsgs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_nicer/src/clcmsgs.cpp b/plugins/Clist_nicer/src/clcmsgs.cpp index 637b8547e3..dc85033317 100644 --- a/plugins/Clist_nicer/src/clcmsgs.cpp +++ b/plugins/Clist_nicer/src/clcmsgs.cpp @@ -87,7 +87,7 @@ LRESULT ProcessExternalMessages(HWND hwnd, struct ClcData *dat, UINT msg, WPARAM return 0;
case CLM_SETFONT:
- if (HIWORD(lParam)<0 || HIWORD(lParam)>FONTID_LAST)
+ if (HIWORD(lParam)>FONTID_LAST)
return 0;
dat->fontInfo[HIWORD(lParam)].hFont = (HFONT)wParam;
dat->fontInfo[HIWORD(lParam)].changed = 1;
|