summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-07 12:28:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-07 12:28:48 +0300
commit9df9bf30b3090c46d3501b9ec7425602af20144a (patch)
treef58a3bc6179240a5cea16810c8ba7d807e83a43d /plugins
parent9e78e93aefc5c8e9e0e96d9602da0a53ce506ade (diff)
warning fix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SpellChecker/src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SpellChecker/src/utils.cpp b/plugins/SpellChecker/src/utils.cpp
index a81c075e20..a96952d541 100644
--- a/plugins/SpellChecker/src/utils.cpp
+++ b/plugins/SpellChecker/src/utils.cpp
@@ -705,7 +705,7 @@ int GetClosestLanguage(wchar_t *lang_name)
return -1;
}
-void GetUserProtoLanguageSetting(Dialog *dlg, MCONTACT hContact, char *group, char *setting, BOOL isProtocol = TRUE)
+void GetUserProtoLanguageSetting(Dialog *dlg, MCONTACT hContact, char *group, char *setting)
{
DBVARIANT dbv = { 0 };
dbv.type = DBVT_WCHAR;
@@ -735,7 +735,7 @@ void GetUserLanguageSetting(Dialog *dlg, char *setting)
if (dlg->lang_name[0] != '\0')
return;
- GetUserProtoLanguageSetting(dlg, dlg->hContact, "UserInfo", setting, FALSE);
+ GetUserProtoLanguageSetting(dlg, dlg->hContact, "UserInfo", setting);
if (dlg->lang_name[0] != '\0')
return;
@@ -746,7 +746,7 @@ void GetUserLanguageSetting(Dialog *dlg, char *setting)
if (dlg->lang_name[0] != '\0')
return;
- GetUserProtoLanguageSetting(dlg, hMetaContact, "UserInfo", setting, FALSE);
+ GetUserProtoLanguageSetting(dlg, hMetaContact, "UserInfo", setting);
}
}