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/viewmodes.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/viewmodes.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/viewmodes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/viewmodes.cpp b/plugins/Clist_nicer/src/viewmodes.cpp index 23a5e5326f..b5908f5c6a 100644 --- a/plugins/Clist_nicer/src/viewmodes.cpp +++ b/plugins/Clist_nicer/src/viewmodes.cpp @@ -972,8 +972,8 @@ LRESULT CALLBACK ViewModeFrameWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM mii.fMask = MIIM_STRING;
mii.dwTypeData = szTemp;
mii.cch = 256;
- GetMenuItemInfoA(hViewModeMenu, selection, FALSE, &mii);
- ApplyViewMode(szTemp);
+ if(GetMenuItemInfoA(hViewModeMenu, selection, FALSE, &mii))
+ ApplyViewMode(szTemp);
}
break;
}
|