diff --git a/stepmania/src/arch/Threads/Threads_Win32.cpp b/stepmania/src/arch/Threads/Threads_Win32.cpp index 64303c061b..6249e4c040 100644 --- a/stepmania/src/arch/Threads/Threads_Win32.cpp +++ b/stepmania/src/arch/Threads/Threads_Win32.cpp @@ -91,7 +91,7 @@ static DWORD WINAPI StartThread( LPVOID pData ) { ThreadImpl_Win32 *pThis = (ThreadImpl_Win32 *) pData; - SetThreadName( GetCurrentThreadId(), RageThread::GetCurThreadName() ); + SetThreadName( GetCurrentThreadId(), RageThread::GetCurrentThreadName() ); DWORD ret = (DWORD) pThis->m_pFunc( pThis->m_pData ); @@ -131,7 +131,7 @@ ThreadImpl *MakeThisThread() { ThreadImpl_Win32 *thread = new ThreadImpl_Win32; - SetThreadName( GetCurrentThreadId(), RageThread::GetCurThreadName() ); + SetThreadName( GetCurrentThreadId(), RageThread::GetCurrentThreadName() ); const HANDLE CurProc = GetCurrentProcess(); int ret = DuplicateHandle( CurProc, GetCurrentThread(), CurProc, diff --git a/stepmania/src/archutils/Win32/Crash.cpp b/stepmania/src/archutils/Win32/Crash.cpp index 8c78176ec5..27100a6104 100644 --- a/stepmania/src/archutils/Win32/Crash.cpp +++ b/stepmania/src/archutils/Win32/Crash.cpp @@ -239,7 +239,7 @@ void RunChild() WriteToChild( hToStdin, buf, iSize ); /* 6. Write the crashed thread's name. */ - p = RageThread::GetCurThreadName(); + p = RageThread::GetCurrentThreadName(); iSize = strlen( p )+1; WriteToChild( hToStdin, &iSize, sizeof(iSize) ); WriteToChild( hToStdin, p, iSize );