summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/IsThread.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-14 01:28:09 +0200
committerMattes D <github@xoft.cz>2014-09-14 01:33:05 +0200
commitc4a53c5d7dadc8303eeac2d92a7513c63c2f776e (patch)
tree66d747f4a50fac39e151a5cf3cd0ad0a16a9d138 /src/OSSupport/IsThread.h
parentImproved cBlockHandler::DropBlock (diff)
downloadcuberite-c4a53c5d7dadc8303eeac2d92a7513c63c2f776e.tar
cuberite-c4a53c5d7dadc8303eeac2d92a7513c63c2f776e.tar.gz
cuberite-c4a53c5d7dadc8303eeac2d92a7513c63c2f776e.tar.bz2
cuberite-c4a53c5d7dadc8303eeac2d92a7513c63c2f776e.tar.lz
cuberite-c4a53c5d7dadc8303eeac2d92a7513c63c2f776e.tar.xz
cuberite-c4a53c5d7dadc8303eeac2d92a7513c63c2f776e.tar.zst
cuberite-c4a53c5d7dadc8303eeac2d92a7513c63c2f776e.zip
Diffstat (limited to 'src/OSSupport/IsThread.h')
-rw-r--r--src/OSSupport/IsThread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/IsThread.h b/src/OSSupport/IsThread.h
index c20fc3e7e..5de5f31c4 100644
--- a/src/OSSupport/IsThread.h
+++ b/src/OSSupport/IsThread.h
@@ -69,7 +69,7 @@ protected:
static DWORD __stdcall thrExecute(LPVOID a_Param)
{
// Create a window so that the thread can be identified by 3rd party tools:
- HWND IdentificationWnd = CreateWindow("STATIC", ((cIsThread *)a_Param)->m_ThreadName.c_str(), 0, 0, 0, 0, WS_OVERLAPPED, NULL, NULL, NULL, NULL);
+ HWND IdentificationWnd = CreateWindowA("STATIC", ((cIsThread *)a_Param)->m_ThreadName.c_str(), 0, 0, 0, 0, WS_OVERLAPPED, NULL, NULL, NULL, NULL);
// Run the thread:
((cIsThread *)a_Param)->Execute();