mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-01 04:21:44 +00:00
and now fix crash if GUI cannot be initialized
This commit is contained in:
parent
8cd54ebe7b
commit
299ed5d29c
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
#ifdef HAVE_GUI
|
||||
g.bindEngine(&e);
|
||||
g.init();
|
||||
if (!g.init()) return 1;
|
||||
|
||||
g.loop();
|
||||
logI("closing GUI.\n");
|
||||
|
|
Loading…
Reference in a new issue