diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-27 19:06:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-27 19:06:23 +0300 |
commit | ec2b6465c9b6475b73f4a28cc658af3507765e80 (patch) | |
tree | 0a8ea58bef971ccedb66dbb1af067c8e20a44857 /plugins/Alarms/src/icons.cpp | |
parent | 955c6cd5ad96179f8fab08006027a2e0c0afb3b0 (diff) |
Alarms:
- warning fixes;
- code cleaning
Diffstat (limited to 'plugins/Alarms/src/icons.cpp')
-rw-r--r-- | plugins/Alarms/src/icons.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Alarms/src/icons.cpp b/plugins/Alarms/src/icons.cpp index 3848213ad1..45fa921ca4 100644 --- a/plugins/Alarms/src/icons.cpp +++ b/plugins/Alarms/src/icons.cpp @@ -3,12 +3,12 @@ HICON hIconMenuSet, hIconList1, hIconList2, hIconMenuShowHide, hIconSystray;
-static IconItem iconList[] =
+static IconItem iconList[] =
{
- { LPGEN("Menu: Set alarm"), "alarms_menu_set", IDI_MAINMENU },
- { LPGEN("Reminder: Soon"), "alarms_list1", IDI_LIST1 },
+ { LPGEN("Menu: Set alarm"), "alarms_menu_set", IDI_MAINMENU },
+ { LPGEN("Reminder: Soon"), "alarms_list1", IDI_LIST1 },
{ LPGEN("Reminder: Very soon"), "alarms_list2", IDI_LIST2 },
- { LPGEN("Alarm: System tray"), "alarms_systray", IDI_MAINMENU },
+ { LPGEN("Alarm: System tray"), "alarms_systray", IDI_MAINMENU },
{ LPGEN("Menu: Show/Hide reminders"), "alarms_menu_showhide", IDI_MAINMENU }
};
@@ -17,7 +17,7 @@ int ReloadIcons(WPARAM, LPARAM) hIconMenuSet = IcoLib_GetIcon("alarms_menu_set");
hIconList1 = IcoLib_GetIcon("alarms_list1");
hIconList2 = IcoLib_GetIcon("alarms_list2");
- if ( !ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
+ if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
hIconMenuShowHide = IcoLib_GetIcon("alarms_menu_showhide");
RefreshReminderFrame();
@@ -28,7 +28,7 @@ void InitIcons() {
Icon_Register(hInst, "Alarms", iconList, _countof(iconList));
- if ( !ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
+ if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
hIconMenuShowHide = IcoLib_GetIcon("alarms_menu_showhide");
ReloadIcons(0, 0);
|