diff options
| author | Dusan Durech <dusan@debian.(none)> | 2009-12-26 15:03:45 +0100 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.(none)> | 2009-12-26 15:03:45 +0100 |
| commit | f2a093784ddca0863792aada235564ce2901d0da (patch) | |
| tree | e82ca899a3476772c67b6fc6a2e0a998c5383c63 /src/client/interface.c | |
| parent | b679c532c63f556cc0355fe7118d7470c488ceda (diff) | |
replace error mesage from "error" to "fatal" message
Diffstat (limited to 'src/client/interface.c')
| -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; } |