mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-23 16:43:58 +08:00
fix a compilation error
This commit is contained in:
+3
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user