aboutsummaryrefslogtreecommitdiff
path: root/src/win/gui/Cursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/gui/Cursor.cpp')
-rw-r--r--src/win/gui/Cursor.cpp2
1 files changed, 1 insertions, 1 deletions
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<HCURSOR>(::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);
}