diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-26 12:12:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-26 12:12:58 +0000 |
commit | aaf3d972a3b32623f7e2984382adc5ca633bb280 (patch) | |
tree | f866e46edb71fca99e57ed08d8bfe34cbb3e86fc /plugins/Popup/src/opt_skins.cpp | |
parent | 5940fca1e79e3e2a53abfcc9805bfc631fa281da (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.cpp | 6 |
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);
}
|