more tabs to spaces

This commit is contained in:
nhmall
2023-08-16 10:22:10 -04:00
parent d421e2512e
commit f625d2efcf
4 changed files with 10 additions and 10 deletions

View File

@@ -380,7 +380,7 @@ term_start_bgcolor(int bgcolor)
#ifdef TEXTCOLOR
if (!monoflag) {
if (bgcolor >= 0 && bgcolor < CLR_MAX)
curframecolor = bgcolor;
curframecolor = bgcolor;
}
#endif
// pline("after bgcolor = %d, curframecolor = %d", bgcolor, curframecolor);

View File

@@ -96,7 +96,7 @@ static struct map_struct {
for (x = 0; x < COLNO; ++x) { \
map[y][x].glyph = 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].special = 0; \
map[y][x].tileidx = Tile_unexplored; \

View File

@@ -2027,7 +2027,7 @@ x_event(int exit_condition)
/* pkey(retval); */
keep_going = FALSE;
#if defined(HANGUPHANDLING)
} else if (gp.program_state.done_hup) {
} else if (gp.program_state.done_hup) {
retval = '\033';
inptr = (inptr + 1) % INBUF_SIZE;
keep_going = FALSE;
@@ -2048,12 +2048,12 @@ x_event(int exit_condition)
}
keep_going = FALSE;
#if defined(HANGUPHANDLING)
} else if (gp.program_state.done_hup) {
} else if (gp.program_state.done_hup) {
retval = '\033';
inptr = (inptr + 1) % INBUF_SIZE;
keep_going = FALSE;
#endif
}
}
break;
default:
panic("x_event: unknown exit condition %d", exit_condition);

View File

@@ -204,12 +204,12 @@ curses_message_win_puts(const char *message, boolean recursed)
/* split needed */
tmpstr = curses_break_str(message, (width - 3), 1);
#ifdef USE_CURSES_PUTMIXED
if (have_mixed_leadin) {
if (have_mixed_leadin) {
mvwadd_wch(win, my, mx, mixed_leadin_cchar);
++mx;
message_length--;
have_mixed_leadin = FALSE;
mesg_mixed = 0;
have_mixed_leadin = FALSE;
mesg_mixed = 0;
}
#endif
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);
++mx;
message_length--;
have_mixed_leadin = FALSE;
mesg_mixed = 0;
have_mixed_leadin = FALSE;
mesg_mixed = 0;
}
#endif
mvwprintw(win, my, mx, "%s", message), mx += message_length;