summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/opt_skins.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_skins.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_skins.cpp')
-rw-r--r--plugins/Popup/src/opt_skins.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/opt_skins.cpp b/plugins/Popup/src/opt_skins.cpp
index 78fe66e68e..a6083564cc 100644
--- a/plugins/Popup/src/opt_skins.cpp
+++ b/plugins/Popup/src/opt_skins.cpp
@@ -224,7 +224,7 @@ int SkinOptionList_AddMain(OPTTREE_OPTION* &options, int *OptionsCount, int pos
LPGENT("Enable Aero Glass (Vista+)"),
LPGENT("Use Windows colours"),
LPGENT("Use advanced text render")};
- for (int i = 0; i < SIZEOF(mainOption); i++) {
+ for (int i=0; i < SIZEOF(mainOption); i++) {
bCheck = 0;
switch (i) {
case 0:
@@ -278,7 +278,7 @@ bool SkinOptionList_Update (OPTTREE_OPTION* &options, int *OptionsCount, HWND hw
if (options) {
int index = -1;
OptTree_ProcessMessage(hwndDlg, WM_DESTROY, 0, 0, &index, IDC_SKIN_LIST_OPT, options, *OptionsCount);
- for (int i = 0; i < *OptionsCount; ++i) {
+ for (int i=0; i < *OptionsCount; ++i) {
mir_free(options[i].pszOptionName);
mir_free(options[i].pszSettingName);
}
@@ -547,7 +547,7 @@ INT_PTR CALLBACK DlgProcPopSkinsOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
}
if (hhkFontsReload) UnhookEvent(hhkFontsReload);
if (skinOptions) {
- for (int i = 0; i < skinOptionsCount; ++i) {
+ for (int i=0; i < skinOptionsCount; ++i) {
mir_free(skinOptions[i].pszOptionName);
mir_free(skinOptions[i].pszSettingName);
}