Skip to content

Commit

Permalink
SLUDGE: remove showSetupWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
yinsimei authored and sev- committed Jul 13, 2017
1 parent 83ab056 commit 3975fd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion engines/sludge/platform-dependent.h
Expand Up @@ -28,7 +28,6 @@
namespace Sludge {

char *grabFileName();
int showSetupWindow();

void msgBox(const char *head, const char *msg);
int msgBoxQuestion(const char *head, const char *msg);
Expand Down
6 changes: 1 addition & 5 deletions engines/sludge/sludger.cpp
Expand Up @@ -527,17 +527,13 @@ bool initSludge(char *filename) {
// There's no startup window on Linux and respecting this
// option from the ini file would disable commandline options.
#if defined __unix__ && !(defined __APPLE__)
#if 0
if (!showSetupWindow()) return 0;
#endif
saveIniFile(filename);
#else
if (!gameSettings.noStartWindow) {
if (!showSetupWindow()) return 0;
saveIniFile(filename);
}
#endif

// Now set file indices properly to the chosen language.
languageNum = getLanguageForFileB();
if (languageNum < 0)
Expand Down

0 comments on commit 3975fd7

Please sign in to comment.