diff options
author | Filippos Karapetis | 2009-02-21 18:16:17 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-21 18:16:17 +0000 |
commit | 426def4f44a2997163632058cd4b6b21a61e533c (patch) | |
tree | ae0c3a8ff261e4a99394e6b1072ece490b6fdb0e /engines/sci/engine/gc.cpp | |
parent | 11b2ddfc5450fda4638dd264f576e48d17d85b12 (diff) | |
download | scummvm-rg350-426def4f44a2997163632058cd4b6b21a61e533c.tar.gz scummvm-rg350-426def4f44a2997163632058cd4b6b21a61e533c.tar.bz2 scummvm-rg350-426def4f44a2997163632058cd4b6b21a61e533c.zip |
Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
Diffstat (limited to 'engines/sci/engine/gc.cpp')
-rw-r--r-- | engines/sci/engine/gc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp index ff59f37328..5cca5bd34e 100644 --- a/engines/sci/engine/gc.cpp +++ b/engines/sci/engine/gc.cpp @@ -79,8 +79,7 @@ static reg_t worklist_pop(worklist_t **wlp) { reg_t retval; if (!wl || !wl->used) { - fprintf(stderr, "Attempt to pop from empty worklist"); - exit(1); + error("Attempt to pop from empty worklist"); } retval = wl->entries[--wl->used]; |