more tabs to spaces
This commit is contained in:
@@ -380,7 +380,7 @@ term_start_bgcolor(int bgcolor)
|
|||||||
#ifdef TEXTCOLOR
|
#ifdef TEXTCOLOR
|
||||||
if (!monoflag) {
|
if (!monoflag) {
|
||||||
if (bgcolor >= 0 && bgcolor < CLR_MAX)
|
if (bgcolor >= 0 && bgcolor < CLR_MAX)
|
||||||
curframecolor = bgcolor;
|
curframecolor = bgcolor;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
// pline("after bgcolor = %d, curframecolor = %d", bgcolor, curframecolor);
|
// pline("after bgcolor = %d, curframecolor = %d", bgcolor, curframecolor);
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ static struct map_struct {
|
|||||||
for (x = 0; x < COLNO; ++x) { \
|
for (x = 0; x < COLNO; ++x) { \
|
||||||
map[y][x].glyph = GLYPH_UNEXPLORED; \
|
map[y][x].glyph = GLYPH_UNEXPLORED; \
|
||||||
map[y][x].ch = glyph2ttychar(GLYPH_UNEXPLORED); \
|
map[y][x].ch = glyph2ttychar(GLYPH_UNEXPLORED); \
|
||||||
map[y][x].framecolor = NO_COLOR; \
|
map[y][x].framecolor = NO_COLOR; \
|
||||||
map[y][x].attr = 0; \
|
map[y][x].attr = 0; \
|
||||||
map[y][x].special = 0; \
|
map[y][x].special = 0; \
|
||||||
map[y][x].tileidx = Tile_unexplored; \
|
map[y][x].tileidx = Tile_unexplored; \
|
||||||
|
|||||||
@@ -2027,7 +2027,7 @@ x_event(int exit_condition)
|
|||||||
/* pkey(retval); */
|
/* pkey(retval); */
|
||||||
keep_going = FALSE;
|
keep_going = FALSE;
|
||||||
#if defined(HANGUPHANDLING)
|
#if defined(HANGUPHANDLING)
|
||||||
} else if (gp.program_state.done_hup) {
|
} else if (gp.program_state.done_hup) {
|
||||||
retval = '\033';
|
retval = '\033';
|
||||||
inptr = (inptr + 1) % INBUF_SIZE;
|
inptr = (inptr + 1) % INBUF_SIZE;
|
||||||
keep_going = FALSE;
|
keep_going = FALSE;
|
||||||
@@ -2048,12 +2048,12 @@ x_event(int exit_condition)
|
|||||||
}
|
}
|
||||||
keep_going = FALSE;
|
keep_going = FALSE;
|
||||||
#if defined(HANGUPHANDLING)
|
#if defined(HANGUPHANDLING)
|
||||||
} else if (gp.program_state.done_hup) {
|
} else if (gp.program_state.done_hup) {
|
||||||
retval = '\033';
|
retval = '\033';
|
||||||
inptr = (inptr + 1) % INBUF_SIZE;
|
inptr = (inptr + 1) % INBUF_SIZE;
|
||||||
keep_going = FALSE;
|
keep_going = FALSE;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
panic("x_event: unknown exit condition %d", exit_condition);
|
panic("x_event: unknown exit condition %d", exit_condition);
|
||||||
|
|||||||
@@ -204,12 +204,12 @@ curses_message_win_puts(const char *message, boolean recursed)
|
|||||||
/* split needed */
|
/* split needed */
|
||||||
tmpstr = curses_break_str(message, (width - 3), 1);
|
tmpstr = curses_break_str(message, (width - 3), 1);
|
||||||
#ifdef USE_CURSES_PUTMIXED
|
#ifdef USE_CURSES_PUTMIXED
|
||||||
if (have_mixed_leadin) {
|
if (have_mixed_leadin) {
|
||||||
mvwadd_wch(win, my, mx, mixed_leadin_cchar);
|
mvwadd_wch(win, my, mx, mixed_leadin_cchar);
|
||||||
++mx;
|
++mx;
|
||||||
message_length--;
|
message_length--;
|
||||||
have_mixed_leadin = FALSE;
|
have_mixed_leadin = FALSE;
|
||||||
mesg_mixed = 0;
|
mesg_mixed = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
mvwprintw(win, my, mx, "%s", tmpstr), mx += (int) strlen(tmpstr);
|
mvwprintw(win, my, mx, "%s", tmpstr), mx += (int) strlen(tmpstr);
|
||||||
@@ -229,8 +229,8 @@ curses_message_win_puts(const char *message, boolean recursed)
|
|||||||
mvwadd_wch(win, my, mx, mixed_leadin_cchar);
|
mvwadd_wch(win, my, mx, mixed_leadin_cchar);
|
||||||
++mx;
|
++mx;
|
||||||
message_length--;
|
message_length--;
|
||||||
have_mixed_leadin = FALSE;
|
have_mixed_leadin = FALSE;
|
||||||
mesg_mixed = 0;
|
mesg_mixed = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
mvwprintw(win, my, mx, "%s", message), mx += message_length;
|
mvwprintw(win, my, mx, "%s", message), mx += message_length;
|
||||||
|
|||||||
Reference in New Issue
Block a user