From: Deskull Date: Mon, 28 Jan 2019 14:21:12 +0000 (+0900) Subject: [Refactor] #37353 型の置換。 / Type replacement. X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=be8454dee4c898a7937a683cafee971cd4a18a6f [Refactor] #37353 型の置換。 / Type replacement. --- diff --git a/src/cave.c b/src/cave.c index ac45501f7..f0a6800fc 100644 --- a/src/cave.c +++ b/src/cave.c @@ -955,7 +955,7 @@ void map_info(POSITION y, POSITION x, TERM_COLOR *ap, char *cp, TERM_COLOR *tap, feature_type *f_ptr = &f_info[feat]; TERM_COLOR a; - byte c; + SYMBOL_CODE c; /* Boring grids (floors, etc) */ if (!have_flag(f_ptr->flags, FF_REMEMBER)) diff --git a/src/cmd4.c b/src/cmd4.c index e0f5397df..e19262f20 100644 --- a/src/cmd4.c +++ b/src/cmd4.c @@ -6213,8 +6213,8 @@ static void display_visual_list(int col, int row, int height, int width, TERM_CO /* Display columns until done */ for (j = 0; j < width; j++) { - byte a; - char c; + TERM_COLOR a; + SYMBOL_CODE c; TERM_LEN x = col + j; TERM_LEN y = row + i; int ia, ic; @@ -6230,8 +6230,8 @@ static void display_visual_list(int col, int row, int height, int width, TERM_CO (!use_graphics && ic > 0x7f)) continue; - a = (byte)ia; - c = (char)ic; + a = ia; + c = ic; /* Force correct code for both ASCII character and tile */ if (c & 0x80) a |= 0x80;