diff options
author | crupest <crupest@outlook.com> | 2022-01-28 22:32:22 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-28 22:32:22 +0800 |
commit | 27ef6b29fe9ea6931dd9aef585e8b9467599b5f1 (patch) | |
tree | b6c6f2162a9561e1f86568717649913999cbb3e7 /src/win/gui/Cursor.cpp | |
parent | af43f72adcb6738eebaad505389084c17411a694 (diff) | |
download | cru-27ef6b29fe9ea6931dd9aef585e8b9467599b5f1.tar.gz cru-27ef6b29fe9ea6931dd9aef585e8b9467599b5f1.tar.bz2 cru-27ef6b29fe9ea6931dd9aef585e8b9467599b5f1.zip |
...
Diffstat (limited to 'src/win/gui/Cursor.cpp')
-rw-r--r-- | src/win/gui/Cursor.cpp | 2 |
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); } |