diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-11 07:37:05 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-11 07:37:05 +0000 |
commit | 62c8e11a253660294c360787369ecb656e9b67fc (patch) | |
tree | 27edf4320cf1196e28a0e4fe0218accdbdee1c8b /nohtml/nohtml.cpp | |
parent | 75cf723182f3017a1dfb9c06cb6d1ed177abab68 (diff) |
fix wrong codepage usage
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@361 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'nohtml/nohtml.cpp')
-rw-r--r-- | nohtml/nohtml.cpp | 2 |
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();
/////////////
|