From 27ef6b29fe9ea6931dd9aef585e8b9467599b5f1 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 28 Jan 2022 22:32:22 +0800 Subject: ... --- src/win/gui/Cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win/gui/Cursor.cpp') diff --git a/src/win/gui/Cursor.cpp b/src/win/gui/Cursor.cpp index 80e8a749..a3a7f824 100644 --- a/src/win/gui/Cursor.cpp +++ b/src/win/gui/Cursor.cpp @@ -27,7 +27,7 @@ WinCursor* LoadWinCursor(const wchar_t* name) { const auto handle = static_cast(::LoadImageW( NULL, name, IMAGE_CURSOR, SM_CYCURSOR, SM_CYCURSOR, LR_SHARED)); if (handle == NULL) { - throw Win32Error(::GetLastError(), "Failed to load system cursor."); + throw Win32Error(::GetLastError(), u"Failed to load system cursor."); } return new WinCursor(handle, false); } -- cgit v1.2.3