summaryrefslogtreecommitdiff
path: root/nohtml/nohtml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nohtml/nohtml.cpp')
-rw-r--r--nohtml/nohtml.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/nohtml/nohtml.cpp b/nohtml/nohtml.cpp
index 1bb84fb..9bc7c32 100644
--- a/nohtml/nohtml.cpp
+++ b/nohtml/nohtml.cpp
@@ -11,6 +11,7 @@
HINSTANCE hInst;
PLUGINLINK *pluginLink;
DWORD mirandaVer;
+int codepage;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -95,6 +96,7 @@ HANDLE hModulesLoaded;
extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) {
pluginLink=link;
+ codepage = (int)CallService(MS_LANGPACK_GETCODEPAGE, 0, 0);
InitOptions();
/////////////