summaryrefslogtreecommitdiff
path: root/popup/src/opt_gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'popup/src/opt_gen.cpp')
-rw-r--r--popup/src/opt_gen.cpp8
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) {