summaryrefslogtreecommitdiff
path: root/plugins/Popup/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-11 19:11:56 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-11 19:11:56 +0000
commit7cea79f2940e3bfe7b38158e4d39c193a8868159 (patch)
tree049d3c6728d23a5048d463341f980b1b2e6b3ff5 /plugins/Popup/src
parentbb22e7b2a0af67cc65ce5179917b20e5977ed4ef (diff)
Popup:
fixed popup icons in toptoolbar git-svn-id: http://svn.miranda-ng.org/main/trunk@906 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src')
-rw-r--r--plugins/Popup/src/main.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index b44725c0bc..66c345017a 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -1,9 +1,9 @@
/*
Popup Plus plugin for Miranda IM
-Copyright © 2002 Luca Santarelli,
- © 2004-2007 Victor Pavlychko
- © 2010 MPK
+Copyright � 2002 Luca Santarelli,
+ � 2004-2007 Victor Pavlychko
+ � 2010 MPK
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -205,15 +205,15 @@ static int TTBLoaded(WPARAM wParam,LPARAM lParam)
{
if ( !hTTButton) {
TTBButton btn = {0};
- btn.cbSize = sizeof(btn);
- btn.pszService = MENUCOMMAND_SVC;
- btn.lParamUp = 1;
- btn.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE;
- btn.name = LPGEN("Toggle Popups");
- btn.hIconHandleUp = Skin_GetIconHandle(ICO_TB_POPUP_OFF);
- btn.hIconHandleDn = Skin_GetIconHandle(ICO_TB_POPUP_ON);
- btn.pszTooltipUp = LPGEN("Enable popups");
- btn.pszTooltipDn = LPGEN("Disable popups");
+ btn.cbSize = sizeof(btn);
+ btn.pszService = MENUCOMMAND_SVC;
+ btn.lParamUp = 1;
+ btn.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE;
+ btn.name = LPGEN("Toggle Popups");
+ btn.hIconHandleUp = Skin_GetIconHandle(ICO_TB_POPUP_ON);
+ btn.hIconHandleDn = Skin_GetIconHandle(ICO_TB_POPUP_OFF);
+ btn.pszTooltipUp = LPGEN("Disable popups");
+ btn.pszTooltipDn = LPGEN("Enable popups");
hTTButton = TopToolbar_AddButton(&btn);
}