Fix for release builds.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2963 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-05-07 10:01:26 +00:00
parent 8586e1b90d
commit e17d65cda6
1 changed files with 3 additions and 2 deletions

View File

@ -565,8 +565,9 @@ void Threading::PersistentThread::_try_virtual_invoke( void (PersistentThread::*
//
catch( BaseException& ex )
{
m_except = ex.Clone();
m_except->DiagMsg() = wxsFormat( L"(thread:%s) ", GetName().c_str() ) + m_except->DiagMsg();
BaseException* woot = ex.Clone();
woot->DiagMsg() += wxsFormat( L"(thread:%s)", GetName().c_str() );
m_except = woot;
}
#endif
}