Linux: Fixed GUI bugs that only showed up in Linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@80 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2008-07-24 09:58:04 +00:00
parent 6c4573932b
commit 827ce8dde2
2 changed files with 6 additions and 6 deletions

View File

@ -286,9 +286,9 @@ CGameListCtrl::ScanForISOs()
SplitPath(rFilenames[i], NULL, &FileName, NULL); SplitPath(rFilenames[i], NULL, &FileName, NULL);
wxString msg; wxString msg;
wxString tempstring; char tempstring[128];
tempstring = wxString::FromAscii("Scanning %s"); sprintf(tempstring,"Scanning %s", FileName.c_str());
msg.Printf(tempstring, FileName.c_str()); msg = wxString::FromAscii(tempstring);
bool Cont = dialog.Update(i, msg); bool Cont = dialog.Update(i, msg);

View File

@ -84,9 +84,9 @@ CPluginManager::ScanForPlugins(wxWindow* _wxWindow)
} }
wxString msg; wxString msg;
wxString temp; char temp[128];
temp = wxString::FromAscii("Scanning %s"); sprintf(temp,"Scanning %s", FileName.c_str());
msg.Printf(temp, FileName.c_str()); msg = wxString::FromAscii(temp);
bool Cont = dialog.Update((int)i, msg); bool Cont = dialog.Update((int)i, msg);
if (!Cont) if (!Cont)