fix a compilation error

This commit is contained in:
Vincent Wei
2020-03-21 22:04:33 +08:00
parent 699a68a9ac
commit d4b226d2a5
+3 -1
View File
@@ -419,6 +419,8 @@ static BOOL InstallSEGVHandler (void)
int GUIAPI InitGUI (int args, const char *agr[])
{
char engine [LEN_ENGINE_NAME + 1];
char mode [LEN_VIDEO_MODE + 1];
int step = 0;
__mg_quiting_stage = _MG_QUITING_STAGE_RUNNING;
@@ -464,7 +466,7 @@ int GUIAPI InitGUI (int args, const char *agr[])
}
step++;
switch (mg_InitGAL ()) {
switch (mg_InitGAL (engine, mode)) {
case ERR_CONFIG_FILE:
fprintf (stderr,
"KERNEL>InitGUI: Reading configuration failure!\n");