summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher/src/Layoutproc.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-20 15:08:37 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-20 15:08:37 +0000
commit1218ad7dd4da98cdc3e6ab5d54e3d700953e070b (patch)
treebb34058e2a6fa2834a37cb77323ab1b0faf24ca3 /plugins/TranslitSwitcher/src/Layoutproc.cpp
parenta75ba12d58c579bd1a193c01d452db6cb295ae7a (diff)
fix after richedit update
git-svn-id: http://svn.miranda-ng.org/main/trunk@11029 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TranslitSwitcher/src/Layoutproc.cpp')
-rw-r--r--plugins/TranslitSwitcher/src/Layoutproc.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp
index 1a3fc10f6a..2f22e0ee3f 100644
--- a/plugins/TranslitSwitcher/src/Layoutproc.cpp
+++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp
@@ -412,7 +412,7 @@ VOID SwitchLayout(BOOL lastword)
{
HWND hwnd = GetForegroundWindow();
- if(hwnd != NULL)
+ if (hwnd != NULL)
{
DWORD dwProcessID;
DWORD dwThreadID = GetWindowThreadProcessId(hwnd, &dwProcessID);
@@ -490,7 +490,7 @@ VOID SwitchLayout(BOOL lastword)
PUAddPopupT(&pd);
}
}
- else if(lstrcmp(szClassName, _T("RichEdit20W")) == 0)
+ else if (lstrcmpi(szClassName, _T("RichEdit50W")) == 0)
{
DWORD dwStart, dwEnd;
int i, slen, start = 0, end = 0;
@@ -579,19 +579,19 @@ void TranslitLayout(BOOL lastword)
{
HWND hwnd = GetForegroundWindow();
- if(hwnd != NULL)
+ if (hwnd != NULL)
{
DWORD dwProcessID;
DWORD dwThreadID = GetWindowThreadProcessId(hwnd, &dwProcessID);
HWND hwnd2 = GetFocus();
- if(hwnd2 != NULL)
+ if (hwnd2 != NULL)
{
TCHAR szClassName[16];
GetClassName(hwnd2, szClassName, SIZEOF(szClassName));
- if(lstrcmp(szClassName, _T("RichEdit20W")) == 0)
+ if (lstrcmpi(szClassName, _T("RichEdit50W")) == 0)
{
DWORD dwStart, dwEnd;
int slen, start = 0, end = 0;
@@ -667,19 +667,19 @@ void InvertCase(BOOL lastword)
{
HWND hwnd = GetForegroundWindow();
- if(hwnd != NULL)
+ if (hwnd != NULL)
{
DWORD dwProcessID;
DWORD dwThreadID = GetWindowThreadProcessId(hwnd, &dwProcessID);
HWND hwnd2 = GetFocus();
- if(hwnd2 != NULL)
+ if (hwnd2 != NULL)
{
TCHAR szClassName[16];
GetClassName(hwnd2, szClassName, SIZEOF(szClassName));
- if(lstrcmp(szClassName, _T("RichEdit20W")) == 0)
+ if (lstrcmpi(szClassName, _T("RichEdit50W")) == 0)
{
DWORD dwStart, dwEnd;
int slen, start = 0, end = 0;