From 1b7783f8e0b864d81c8ab7bb4d83cd2f789b0d48 Mon Sep 17 00:00:00 2001 From: auth12 <67507608+auth12@users.noreply.github.com> Date: Fri, 28 Aug 2020 17:02:54 +0100 Subject: Added version checks on server. Changed main thread behaviour. Fixed events bug where packet seq would get corrupted. Changed session packet behaviour. --- client/src/ui/ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/ui/ui.cpp') diff --git a/client/src/ui/ui.cpp b/client/src/ui/ui.cpp index 3ef383d..277aeba 100644 --- a/client/src/ui/ui.cpp +++ b/client/src/ui/ui.cpp @@ -30,14 +30,14 @@ HWND ui::create_window(HINSTANCE instance, const std::pair size, const wc.hInstance = instance; wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = 0; - wc.lpszClassName = "LoaderClass"; + wc.lpszClassName = L"LoaderClass"; RegisterClassEx(&wc); auto flag = WS_POPUP; /*flag &= ~WS_MAXIMIZEBOX; flag &= ~WS_SIZEBOX;*/ - return CreateWindowEx(WS_EX_TOPMOST, wc.lpszClassName, "client", flag, pos.first, pos.second, size.first, size.second, 0, 0, wc.hInstance, 0); + return CreateWindowEx(WS_EX_TOPMOST, wc.lpszClassName, L"client", flag, pos.first, pos.second, size.first, size.second, 0, 0, wc.hInstance, 0); } bool ui::create_device(HWND hwnd) { -- cgit v1.2.3