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);
wxString msg;
wxString tempstring;
tempstring = wxString::FromAscii("Scanning %s");
msg.Printf(tempstring, FileName.c_str());
char tempstring[128];
sprintf(tempstring,"Scanning %s", FileName.c_str());
msg = wxString::FromAscii(tempstring);
bool Cont = dialog.Update(i, msg);

View File

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