All pastes #673961 Raw Edit

Something

public diff v1 · immutable
#673961 ·published 2007-08-28 20:38 UTC
rendered paste body
Index: battlelistctrl.cpp===================================================================--- battlelistctrl.cpp	(revisione 585)+++ battlelistctrl.cpp	(copia locale)@@ -205,6 +205,9 @@     Battle& battle = *((Battle*)GetItemData( m_selected )); // FIXME m_selected might not exist.     wxString map = battle.GetMapName();     map = map.SubString(0, map.Find( '.', true ) - 1 );+    map.Replace(_T(" "), _T("*") );+    map.Replace(_T("-"), _T("*") );+    map.Replace(_T("_"), _T("*") );     wxString url = _T("http://spring.unknown-files.net/page/search/2/13/") + map + _T("/");     if ( !wxLaunchDefaultBrowser( url ) ) {       wxMessageBox( _T("Couldn't launch browser. URL is: ") + url, _T("Couldn't launch browser.")  );