projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
few assorted adjustments and a fix for #8883
[super-star-trek.git]
/
src
/
io.c
diff --git
a/src/io.c
b/src/io.c
index 134fdef4775fb18c7cf94441da12802369f785bd..65edfdf59d07c2c0721eacba9a91f564f49a0046 100644
(file)
--- a/
src/io.c
+++ b/
src/io.c
@@
-47,13
+47,13
@@
void iostart(void)
char *ln_env = getenv("LINES");
rows = ln_env ? atoi(ln_env) : 25;
} else {
char *ln_env = getenv("LINES");
rows = ln_env ? atoi(ln_env) : 25;
} else {
-
(void)
initscr();
+ initscr();
#ifdef KEY_MIN
keypad(stdscr, TRUE);
#endif /* KEY_MIN */
#ifdef KEY_MIN
keypad(stdscr, TRUE);
#endif /* KEY_MIN */
-
(void)
saveterm();
-
(void)
nonl();
-
(void)
cbreak();
+ saveterm();
+ nonl();
+ cbreak();
#ifdef A_COLOR
{
start_color();
#ifdef A_COLOR
{
start_color();
@@
-67,7
+67,7
@@
void iostart(void)
init_pair(COLOR_YELLOW, COLOR_YELLOW, COLOR_BLACK);
}
#endif /* A_COLOR */
init_pair(COLOR_YELLOW, COLOR_YELLOW, COLOR_BLACK);
}
#endif /* A_COLOR */
- //
(void)
noecho();
+ //noecho();
fullscreen_window = stdscr;
srscan_window = newwin(12, 25, 0, 0);
report_window = newwin(11, 0, 1, 25);
fullscreen_window = stdscr;
srscan_window = newwin(12, 25, 0, 0);
report_window = newwin(11, 0, 1, 25);