summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r--plugins/HistoryPlusPlus/historypp.dpr2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr
index d9aa22378e..ca12e3596a 100644
--- a/plugins/HistoryPlusPlus/historypp.dpr
+++ b/plugins/HistoryPlusPlus/historypp.dpr
@@ -162,7 +162,7 @@ begin
Langpack_Register();
// Getting langpack codepage for ansi translation
- hppCodepage := CallService(MS_LANGPACK_GETCODEPAGE, 0, 0);
+ hppCodepage := Langpack_GetDefaultCodePage;
if hppCodepage = CP_ACP then
hppCodepage := GetACP();
// Checking the version of richedit is available, need 2.0+