diff options
| author | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-07-24 09:58:04 +0000 |
|---|---|---|
| committer | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-07-24 09:58:04 +0000 |
| commit | 827ce8dde2f4154d97dc6b561bd978355922ad5e (patch) | |
| tree | 33f8a710fb2f207920841d0998e9b5c0e4ac1f42 /Source/Core | |
| parent | 6c4573932bd403a2bba096c5eea978f4a0c6acc0 (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/src/GameListCtrl.cpp | 6 | ||||
| -rw-r--r-- | Source/Core/DolphinWX/src/PluginManager.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/src/GameListCtrl.cpp b/Source/Core/DolphinWX/src/GameListCtrl.cpp index 8aad0d7b4b..6e310ebd83 100644 --- a/Source/Core/DolphinWX/src/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/src/GameListCtrl.cpp @@ -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);
diff --git a/Source/Core/DolphinWX/src/PluginManager.cpp b/Source/Core/DolphinWX/src/PluginManager.cpp index bd9f7cd6e1..4bb7fc1f5a 100644 --- a/Source/Core/DolphinWX/src/PluginManager.cpp +++ b/Source/Core/DolphinWX/src/PluginManager.cpp @@ -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)
|
