Revision: 2482
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2482&view=rev
Author: ulteq
Date: 2012-04-27 17:09:16 +0000 (Fri, 27 Apr 2012)
Log Message:
-----------
-Fix: Better solution for #948 Search Box Crash
Modified Paths:
--------------
trunk/source/main/gui/SelectorWindow.cpp
Modified: trunk/source/main/gui/SelectorWindow.cpp
===================================================================
--- trunk/source/main/gui/SelectorWindow.cpp 2012-04-26 21:36:26 UTC (rev
2481)
+++ trunk/source/main/gui/SelectorWindow.cpp 2012-04-27 17:09:16 UTC (rev
2482)
@@ -673,11 +673,8 @@
}
for(std::set<String>::iterator it = author_names.begin(); it !=
author_names.end(); it++)
{
- // TODO: Find a better solution to solve "exception:
Ogre::UTFString::invalid_data"
- try
- {
- authors.append(U(" ") + *it);
- } catch(...) {}
+ UTFString name = ANSI_TO_UTF(*it);
+ authors.append(U(" ") + name);
}
if(authors.length() == 0)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel