X-Git-Url: https://gitweb.ps.run/npengine/blobdiff_plain/d0842af039893f65fe886997622834ea32e0027c..ba846472fc8a7957b82d645f6cdc9889038e722d:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index baa4478..6c48dd9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -96,7 +96,6 @@ void key_up(char c) { ip.ki.time = 0; ip.ki.dwExtraInfo = 0; - // Release key ip.ki.dwFlags = KEYEVENTF_UNICODE | KEYEVENTF_KEYUP; SendInput(1, &ip, sizeof(INPUT)); } @@ -342,7 +341,7 @@ void load_level(int l, bool terminate = true) { sprintf(title, "%d.txt - Editor", lvl); hwnd = FindWindowA(NULL, title); - SetWindowPos(hwnd, HWND_TOP, 100, 100, 960, 905, SWP_SHOWWINDOW); + SetWindowPos(hwnd, HWND_TOP, 100, 100, 965, 905, SWP_SHOWWINDOW); SetFocus(hwnd); for (int i = 0; i < 10; i++) {