aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/syntax/syntaxedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/syntax/syntaxedit.c')
-rw-r--r--ui/syntax/syntaxedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/syntax/syntaxedit.c b/ui/syntax/syntaxedit.c
index 5586e9d1..f9c61957 100644
--- a/ui/syntax/syntaxedit.c
+++ b/ui/syntax/syntaxedit.c
@@ -227,6 +227,7 @@ static LRESULT CALLBACK child_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lP
switch (Msg) {
case WM_CREATE: {
struct syntaxedit_data *this = calloc(1, sizeof(*this));
+ SetWindowLong(hWnd, GWL_EXSTYLE, GetWindowLong(hWnd, GWL_EXSTYLE) & ~WS_EX_CLIENTEDGE);
assert(this);
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)this);
SendMessage(hWnd, EM_GETOLEINTERFACE, 0, (LPARAM)&this->irich);