summaryrefslogtreecommitdiff
path: root/plugins/ChangeKeyboardLayout/text_operations.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ChangeKeyboardLayout/text_operations.c')
-rw-r--r--plugins/ChangeKeyboardLayout/text_operations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ChangeKeyboardLayout/text_operations.c b/plugins/ChangeKeyboardLayout/text_operations.c
index 1fdc62b4c7..70851b38a1 100644
--- a/plugins/ChangeKeyboardLayout/text_operations.c
+++ b/plugins/ChangeKeyboardLayout/text_operations.c
@@ -492,7 +492,7 @@ int ChangeLayout(HWND hTextWnd,BYTE TextOperation,BOOL CurrentWord)
//if ((SendMessage(hTextWnd,EM_GETOPTIONS,0,0)&ECO_READONLY))
if ((WindowType==WTYPE_RichEdit)||(WindowType==WTYPE_Edit))
- if (GetWindowLong(hTextWnd,GWL_STYLE)&ES_READONLY)
+ if (GetWindowLongPtr(hTextWnd,GWL_STYLE)&ES_READONLY)
WindowIsReadOnly=TRUE;
// Лог Иевью и ХисториПП в режиме эмуляции Иевью и поля только для чтения.