diff options
| author | auth12 <[email protected]> | 2020-08-28 17:02:54 +0100 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-08-28 17:02:54 +0100 |
| commit | 1b7783f8e0b864d81c8ab7bb4d83cd2f789b0d48 (patch) | |
| tree | da0324fe611754ac7a816c9a96eafa84a8cf5e4b /client/src/ui/ui.cpp | |
| parent | Improved CPU usage drastically. (diff) | |
| download | loader-1b7783f8e0b864d81c8ab7bb4d83cd2f789b0d48.tar.xz loader-1b7783f8e0b864d81c8ab7bb4d83cd2f789b0d48.zip | |
Added version checks on server.
Changed main thread behaviour.
Fixed events bug where packet seq would get corrupted.
Changed session packet behaviour.
Diffstat (limited to 'client/src/ui/ui.cpp')
| -rw-r--r-- | client/src/ui/ui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<int, int> 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) { |