aboutsummaryrefslogtreecommitdiff
path: root/src/win/native/Cursor.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-29 00:31:21 +0800
committercrupest <crupest@outlook.com>2020-06-29 00:31:21 +0800
commit5c3dae62b9218dbd2493ff6390db062013ca4bdc (patch)
tree3425a9efa118eaf89627e6903cecb50a3daedb1d /src/win/native/Cursor.cpp
parent6b5aff7b7e50fae15cb010b340099163725f664c (diff)
downloadcru-5c3dae62b9218dbd2493ff6390db062013ca4bdc.tar.gz
cru-5c3dae62b9218dbd2493ff6390db062013ca4bdc.tar.bz2
cru-5c3dae62b9218dbd2493ff6390db062013ca4bdc.zip
...
Diffstat (limited to 'src/win/native/Cursor.cpp')
-rw-r--r--src/win/native/Cursor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win/native/Cursor.cpp b/src/win/native/Cursor.cpp
index ca8bb1cd..a6ab5bfc 100644
--- a/src/win/native/Cursor.cpp
+++ b/src/win/native/Cursor.cpp
@@ -16,8 +16,8 @@ WinCursor::~WinCursor() {
if (!::DestroyCursor(handle_)) {
// This is not a fetal error but might still need notice because it may
// cause leak.
- log::Warn("Failed to destroy a cursor. Last error code: {}",
- ::GetLastError());
+ log::TagWarn(log_tag, "Failed to destroy a cursor. Last error code: {}",
+ ::GetLastError());
}
}
}