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:
parent
6c4573932b
commit
827ce8dde2
|
@ -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);
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue