mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Prevented some crashes from uncaught exceptions
Moved mse.ico to app.ico Fixed the Linux version of load_resource_icon(). git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@388 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ wxIcon load_resource_icon(const String& name) {
|
||||
#if defined(__WXMSW__)
|
||||
return wxIcon(_("icon/") + name);
|
||||
#else
|
||||
static String path = wxStandardPaths::Get().GetDataDir() + _("/icon/");
|
||||
static String path = wxStandardPaths::Get().GetDataDir() + _("/resource/icon/");
|
||||
return wxIcon(path + name + _(".ico"), wxBITMAP_TYPE_ICO);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user