From: Vadim Zeitlin Date: Wed, 8 Nov 2006 13:58:59 +0000 (+0000) Subject: fix crash in wxLogTrace() in Unicode build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bc971e307d1f270ff8a4bedb81731113b382e237?ds=inline fix crash in wxLogTrace() in Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 60172047a5..ff291daa3f 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -1701,7 +1701,7 @@ static void ScheduleThreadForDeletion() 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)