From 8ffc77be71507825a8f7585bcabff8ccc370206a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 8 Dec 2018 20:12:16 +0300 Subject: db_get_sa / db_get_wsa to receive the default value, massive code simplification --- plugins/TranslitSwitcher/src/Layoutproc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TranslitSwitcher') diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index 915301ad6e..f32d639fc6 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -703,7 +703,7 @@ int OnButtonPressed(WPARAM, LPARAM lParam) } } - ptrW tszSymbol(db_get_wsa(NULL, "TranslitSwitcher", "ResendSymbol")); + ptrW tszSymbol(db_get_wsa(0, "TranslitSwitcher", "ResendSymbol")); if (!tszSymbol && sel) { SetWindowText(hEdit, sel); SendMessage(hEdit, EM_SETSEL, 0, (LPARAM)slen); -- cgit v1.2.3