From f625d2efcf16607fa31ce46947deec5de608ab01 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 16 Aug 2023 10:22:10 -0400 Subject: [PATCH] more tabs to spaces --- sys/msdos/video.c | 2 +- sys/msdos/vidvesa.c | 2 +- win/X11/winmap.c | 6 +++--- win/curses/cursmesg.c | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sys/msdos/video.c b/sys/msdos/video.c index 2fa7f8733..86b49c96c 100644 --- a/sys/msdos/video.c +++ b/sys/msdos/video.c @@ -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); diff --git a/sys/msdos/vidvesa.c b/sys/msdos/vidvesa.c index 226c3906e..4f162b45d 100644 --- a/sys/msdos/vidvesa.c +++ b/sys/msdos/vidvesa.c @@ -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; \ diff --git a/win/X11/winmap.c b/win/X11/winmap.c index 38b0c851c..f344fd56d 100644 --- a/win/X11/winmap.c +++ b/win/X11/winmap.c @@ -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); diff --git a/win/curses/cursmesg.c b/win/curses/cursmesg.c index 14db90fbb..a9bc80fa5 100644 --- a/win/curses/cursmesg.c +++ b/win/curses/cursmesg.c @@ -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;