summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/ardialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-11-26 15:48:16 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-11-26 15:48:21 +0300
commit94782312a45edad08d6544be5a6aba402f461da1 (patch)
tree0c8149d70f3785493a5ac8ee8182c89854c0d811 /plugins/SpellChecker/src/ardialog.cpp
parentf200ec71df622d7a94fc171363ff67732ffb440a (diff)
code cleaning
Diffstat (limited to 'plugins/SpellChecker/src/ardialog.cpp')
-rw-r--r--plugins/SpellChecker/src/ardialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SpellChecker/src/ardialog.cpp b/plugins/SpellChecker/src/ardialog.cpp
index 060fa80846..2ca79c0616 100644
--- a/plugins/SpellChecker/src/ardialog.cpp
+++ b/plugins/SpellChecker/src/ardialog.cpp
@@ -181,7 +181,7 @@ static INT_PTR CALLBACK AddReplacementDlgProc(HWND hwndDlg, UINT msg, WPARAM wPa
EnableWindow(GetDlgItem(hwndDlg, IDC_OLD_PS), FALSE);
}
- if (!variables_enabled) {
+ if (!g_plugin.hasVariables) {
ShowWindow(GetDlgItem(hwndDlg, IDC_VARIABLES), FALSE);
ShowWindow(GetDlgItem(hwndDlg, IDC_VAR_HELP), FALSE);