mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
The 'Big Whine' patch:
Any use of a file from another package without a declared dependency will give a warning; Also added some more _LOCALE_123_ macros so we need less format_string calls git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@753 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+3
-2
@@ -102,9 +102,10 @@ int MSE::OnRun() {
|
||||
InstallType type = settings.install_type;
|
||||
if (argc > 2) {
|
||||
String arg = argv[2];
|
||||
if (arg.Mid(0,2) == _("--"))
|
||||
parse_enum(arg.Mid(2), type);
|
||||
if (starts_with(argv[2], _("--"))) {
|
||||
parse_enum(String(argv[2]).substr(2), type);
|
||||
}
|
||||
}
|
||||
Installer::installFrom(argv[1], true, isInstallLocal(type));
|
||||
return EXIT_SUCCESS;
|
||||
} else if (arg == _("--symbol-editor")) {
|
||||
|
||||
Reference in New Issue
Block a user