diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-22 20:32:34 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-22 20:32:34 +0000 |
commit | b5e1c9a0314f3a3aa597c319540c8f03c6486df1 (patch) | |
tree | a400940eb874f0a3a61c1b745a85268d6df839c4 /plugins/ChangeKeyboardLayout/hook_events.cpp | |
parent | 881cdec3f53d98320cee55318f8adbe47b93e5e0 (diff) |
plusified
git-svn-id: http://svn.miranda-ng.org/main/trunk@535 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ChangeKeyboardLayout/hook_events.cpp')
-rw-r--r-- | plugins/ChangeKeyboardLayout/hook_events.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/ChangeKeyboardLayout/hook_events.cpp b/plugins/ChangeKeyboardLayout/hook_events.cpp index 5fb03491ee..5c94609252 100644 --- a/plugins/ChangeKeyboardLayout/hook_events.cpp +++ b/plugins/ChangeKeyboardLayout/hook_events.cpp @@ -25,20 +25,6 @@ INT_PTR APIChangeTextLayout(WPARAM wParam, LPARAM lParam) return (int) ChangeTextLayout(ptszInText, ckllFromToLay->hklFrom, ckllFromToLay->hklTo, ckllFromToLay->bTwoWay);
}
-BOOL CoreCheck()
-{
- char version[1024], exepath[1024];
- GetModuleFileNameA(GetModuleHandle(NULL), exepath, sizeof(exepath));
- CallService(MS_SYSTEM_GETVERSIONTEXT, sizeof(version), (LPARAM)version);
- strlwr(version); strlwr(exepath);
- if (!strstr(strrchr(exepath, '\\'), "miranda") ||
- strstr(version, "coffee") ||
- !strncmp(version, "1.", 2) || strstr(version, " 1.") ||
- (dwMirandaVersion >= PLUGIN_MAKE_VERSION(1, 0, 0, 0)))
- return FALSE;
- else return TRUE;
-}
-
void ReadMainOptions()
{
moOptions.dwHotkey_Layout = DBGetContactSettingDword(NULL, ModuleName, "HotkeyLayout", 119);
|