]> git.saurik.com Git - wxWidgets.git/commitdiff
fix crash in wxLogTrace() in Unicode build
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Nov 2006 13:58:59 +0000 (13:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Nov 2006 13:58:59 +0000 (13:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/threadpsx.cpp

index 60172047a55aa833df234acdeca3bb34ecdea68a..ff291daa3f114c0d07ba5ac9309edb167b03f6ae 100644 (file)
@@ -1701,7 +1701,7 @@ static void ScheduleThreadForDeletion()
 
     wxLogTrace(TRACE_THREADS, _T("%lu thread%s waiting to be deleted"),
                (unsigned long)gs_nThreadsBeingDeleted,
 
     wxLogTrace(TRACE_THREADS, _T("%lu thread%s waiting to be deleted"),
                (unsigned long)gs_nThreadsBeingDeleted,
-               gs_nThreadsBeingDeleted == 1 ? "" : "s");
+               gs_nThreadsBeingDeleted == 1 ? _T("") : _T("s"));
 }
 
 static void DeleteThread(wxThread *This)
 }
 
 static void DeleteThread(wxThread *This)