From 4fc3ff8e93e33470c54447212eac865dd06b9273 Mon Sep 17 00:00:00 2001 From: Marocco2 Date: Thu, 22 Dec 2022 20:59:12 +0100 Subject: [PATCH] typo --- GlosSITarget/TargetWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GlosSITarget/TargetWindow.cpp b/GlosSITarget/TargetWindow.cpp index a9a662e..2c3ca75 100644 --- a/GlosSITarget/TargetWindow.cpp +++ b/GlosSITarget/TargetWindow.cpp @@ -336,9 +336,8 @@ void TargetWindow::createWindow() style |= WS_POPUP; SetWindowLong(hwnd, GWL_STYLE, style); - auto exStyle = GetWindowLong(hWnd, GWL_EXSTYLE); exStyle |= WS_EX_TOOLWINDOW; - SetWindowLong(hWnd, GWL_EXSTYLE, exStyle); + SetWindowLong(hwnd, GWL_EXSTYLE, exStyle); MARGINS margins; margins.cxLeftWidth = -1;