diff --git a/dgamelaunch.c b/dgamelaunch.c index 91244de..d157340 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -163,6 +163,11 @@ create_config () return; } + if (!myconfig) /* a parse error occurred */ + { + myconfig = &defconfig; + return; + } /* Fill the rest with defaults */ if (!myconfig->shed_user && myconfig->shed_uid == -1) {