summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CyrTranslit')
-rw-r--r--plugins/CyrTranslit/TransliterationProtocol.cpp4
-rw-r--r--plugins/CyrTranslit/main.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/plugins/CyrTranslit/TransliterationProtocol.cpp b/plugins/CyrTranslit/TransliterationProtocol.cpp
index 1af06afef4..1738aa818d 100644
--- a/plugins/CyrTranslit/TransliterationProtocol.cpp
+++ b/plugins/CyrTranslit/TransliterationProtocol.cpp
@@ -115,7 +115,7 @@ INT_PTR TransliterationProtocol::sendMessageW(WPARAM wParam, LPARAM lParam)
INT_PTR TransliterationProtocol::sendMessageA(WPARAM wParam, LPARAM lParam)
{
- CCSDATA *ccs = reinterpret_cast<CCSDATA*>(lParam);
+ CCSDATA *ccs = reinterpret_cast<CCSDATA*>(lParam);
LPARAM oldlParam = ccs->lParam;
bool msgProcessed = true;
@@ -132,7 +132,7 @@ INT_PTR TransliterationProtocol::sendMessageA(WPARAM wParam, LPARAM lParam)
TranslateMessageA(wParam, lParam);
}
- int ret = CallService(MS_PROTO_CHAINSEND, wParam, lParam);
+ int ret = CallService(MS_PROTO_CHAINSEND, wParam, lParam);
if(msgProcessed)
{
diff --git a/plugins/CyrTranslit/main.cpp b/plugins/CyrTranslit/main.cpp
index 88e0aa31a9..ed33f8ef2d 100644
--- a/plugins/CyrTranslit/main.cpp
+++ b/plugins/CyrTranslit/main.cpp
@@ -22,8 +22,6 @@
HINSTANCE hInst;
PLUGINLINK *pluginLink;
-struct UTF8_INTERFACE utfi;
-struct MM_INTERFACE mmi;
int hLangpack = 0;
PLUGININFOEX pluginInfoEx={
@@ -62,8 +60,6 @@ extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
{
//system inits:
pluginLink = link;
- mir_getUTFI(&utfi);
- mir_getMMI(&mmi);
mir_getLP(&pluginInfoEx);
//plugin inits: PLACE IT ONLY AFTER THIS LINE