diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-07-24 20:04:07 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-07-24 20:04:07 +0000 |
commit | 24448a12c1bff8307ebc2594d4d476052df09430 (patch) | |
tree | 049f1f8e7e851be0b4807fe6d717bc5c3f96a8de | |
parent | a6f37bd3c2b705a525d478f759b8d8144b902967 (diff) |
popup:
patch fixes re-enabling the "reorder popups" option (by FREAK_THEMIGHTY)
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@155 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r-- | popup/src/opt_gen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/popup/src/opt_gen.cpp b/popup/src/opt_gen.cpp index d9ea27d..109598e 100644 --- a/popup/src/opt_gen.cpp +++ b/popup/src/opt_gen.cpp @@ -656,7 +656,7 @@ void ErrorMSG(int minValue, int maxValue) { void Check_ReorderPopUps(HWND hwnd) {
if (!PopUpOptions.ReorderPopUps && PopUpOptions.ReorderPopUpsWarning)
{
- int res = MessageBox(NULL,
+ int res = MessageBox(hwnd,
TranslateTS(
_T("'Reorder Popups' option is currently diabled.\r\n")
_T("This may cause misaligned popups when used with\r\n")
@@ -680,10 +680,10 @@ void Check_ReorderPopUps(HWND hwnd) { default:
return;
}
- DBWriteContactSettingByte(NULL, MODULNAME, "ReorderPopUps", PopUpOptions.ReorderPopUps);
- DBWriteContactSettingByte(NULL, MODULNAME, "ReorderPopUpsWarning", PopUpOptions.ReorderPopUpsWarning);
- if(hwnd) CheckDlgButton(hwnd, IDC_REORDERPOPUPS, PopUpOptions.ReorderPopUps);
}
+ DBWriteContactSettingByte(NULL, MODULNAME, "ReorderPopUps", PopUpOptions.ReorderPopUps);
+ DBWriteContactSettingByte(NULL, MODULNAME, "ReorderPopUpsWarning", PopUpOptions.ReorderPopUpsWarning);
+ if(hwnd) CheckDlgButton(hwnd, IDC_REORDERPOPUPS, PopUpOptions.ReorderPopUps);
}
void ThemeDialogBackground(HWND hwnd) {
|