summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/opt_adv.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-26 12:12:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-26 12:12:58 +0000
commitaaf3d972a3b32623f7e2984382adc5ca633bb280 (patch)
treef866e46edb71fca99e57ed08d8bfe34cbb3e86fc /plugins/Popup/src/opt_adv.cpp
parent5940fca1e79e3e2a53abfcc9805bfc631fa281da (diff)
attemp to fix crash in Popups history
git-svn-id: http://svn.miranda-ng.org/main/trunk@2084 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/opt_adv.cpp')
-rw-r--r--plugins/Popup/src/opt_adv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/opt_adv.cpp b/plugins/Popup/src/opt_adv.cpp
index 2bd5ab39b9..dcad8555f7 100644
--- a/plugins/Popup/src/opt_adv.cpp
+++ b/plugins/Popup/src/opt_adv.cpp
@@ -44,7 +44,7 @@ void OptAdv_RegisterVfx(char *name) {
}
void OptAdv_UnregisterVfx() {
- for (int i = 0; i < g_lstPopupVfx.getCount(); ++i)
+ for (int i=0; i < g_lstPopupVfx.getCount(); ++i)
mir_free(g_lstPopupVfx[i]);
g_lstPopupVfx.destroy();
}
@@ -217,7 +217,7 @@ INT_PTR CALLBACK DlgProcPopUpAdvOpts(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, TranslateT("No effect")) ,-2);
ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, TranslateT("Fade in/out")) ,-1);
dwActiveItem = (DWORD)PopUpOptions.UseEffect;
- for (int i = 0; i < g_lstPopupVfx.getCount(); ++i) {
+ for (int i=0; i < g_lstPopupVfx.getCount(); ++i) {
dwItem = ComboBox_AddString(hCtrl, TranslateTS(g_lstPopupVfx[i]));
ComboBox_SetItemData(hCtrl, dwItem, i);
if (PopUpOptions.UseEffect && !lstrcmp(g_lstPopupVfx[i], PopUpOptions.Effect))