projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Input capture to 'sst-input.log' now happens automatically when idebug is on.
[super-star-trek.git]
/
src
/
io.c
diff --git
a/src/io.c
b/src/io.c
index 7b4855f6c88048b78890a477733ae6757018bf96..5d4ea9a13154752c0ed904fc55f3116ee41fb936 100644
(file)
--- a/
src/io.c
+++ b/
src/io.c
@@
-38,13
+38,13
@@
void iostart(void)
textdomain(PACKAGE);
gettext("");
textdomain(PACKAGE);
gettext("");
+ if (atexit(outro)){
+ fprintf(stderr,"Unable to register outro(), exiting...\n");
+ exit(1);
+ }
if (!(game.options & OPTION_CURSES)) {
rows = atoi(getenv("LINES"));
} else {
if (!(game.options & OPTION_CURSES)) {
rows = atoi(getenv("LINES"));
} else {
- if (atexit(outro)){
- fprintf(stderr,"Unable to register outro(), exiting...\n");
- exit(1);
- }
(void)initscr();
#ifdef KEY_MIN
keypad(stdscr, TRUE);
(void)initscr();
#ifdef KEY_MIN
keypad(stdscr, TRUE);