summaryrefslogtreecommitdiff
path: root/plugins/Alarms/icons.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 15:43:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 15:43:18 +0000
commitb9342641f520a5418fb2a8b2993148a66ea8e33b (patch)
treee7b88518a6f0b3e73a8ac67f2a008b174bc6cfcd /plugins/Alarms/icons.cpp
parent526bab64790186ca6d33a96d0bd14df683b5d184 (diff)
64-bit compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@263 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms/icons.cpp')
-rw-r--r--plugins/Alarms/icons.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Alarms/icons.cpp b/plugins/Alarms/icons.cpp
index ecc7f5539c..fe6abf834d 100644
--- a/plugins/Alarms/icons.cpp
+++ b/plugins/Alarms/icons.cpp
@@ -9,7 +9,7 @@ int ReloadIcons(WPARAM wParam, LPARAM lParam) {
hIconMenuSet = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"alarms_menu_set");
hIconList1 = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"alarms_list1");
hIconList2 = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"alarms_list2");
- if(!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
+ if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
hIconMenuShowHide = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"alarms_menu_showhide");
RefreshReminderFrame();
@@ -17,7 +17,7 @@ int ReloadIcons(WPARAM wParam, LPARAM lParam) {
}
void InitIcons() {
- if(ServiceExists(MS_SKIN2_ADDICON)) {
+ if (ServiceExists(MS_SKIN2_ADDICON)) {
SKINICONDESC sid = {0};
sid.cbSize = sizeof(SKINICONDESC);
@@ -51,7 +51,7 @@ void InitIcons() {
sid.hDefaultIcon = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_MAINMENU), IMAGE_ICON, 16, 16, 0);//LR_LOADTRANSPARENT | LR_LOADMAP3DCOLORS );
CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid);
- if(!ServiceExists(MS_CLIST_FRAMES_ADDFRAME)) {
+ if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME)) {
sid.pszDescription = Translate("Menu: Show/Hide Reminders");
sid.pszName = "alarms_menu_showhide";
sid.pszDefaultFile = "alarms.dll";
@@ -73,19 +73,19 @@ void InitIcons() {
hIconList1 = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_LIST1), IMAGE_ICON, 16, 16, 0);//LR_LOADTRANSPARENT | LR_LOADMAP3DCOLORS );
hIconList2 = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_LIST2), IMAGE_ICON, 16, 16, 0);//LR_LOADTRANSPARENT | LR_LOADMAP3DCOLORS );
hIconSystray = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_MAINMENU), IMAGE_ICON, 16, 16, 0);//LR_LOADTRANSPARENT | LR_LOADMAP3DCOLORS );
- if(!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
+ if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
hIconMenuShowHide = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_MAINMENU), IMAGE_ICON, 16, 16, 0);//LR_LOADTRANSPARENT | LR_LOADMAP3DCOLORS );
}
}
void DeinitIcons() {
- if(!ServiceExists(MS_SKIN2_ADDICON)) {
+ if (!ServiceExists(MS_SKIN2_ADDICON)) {
DestroyIcon(hIconMenuSet);
DestroyIcon(hIconList1);
DestroyIcon(hIconList2);
DestroyIcon(hIconSystray);
- if(!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
+ if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
DestroyIcon(hIconMenuShowHide);
}
}