diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/interface.c b/src/client/interface.c index 2db2e7d..fd11396 100644 --- a/src/client/interface.c +++ b/src/client/interface.c @@ -119,8 +119,9 @@ int interface_init() /* initialization of SDL */ if (SDL_Init(SDL_SUBSYSTEMS) == -1) { - error("Unable to initialize SDL: %s", SDL_GetError()); + fatal("Unable to initialize SDL: %s", SDL_GetError()); SDL_Quit(); + exit(0); return -1; } |