diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/curses.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/curses.c b/ui/curses.c index 3a7e8649f3..4ef9b9c677 100644 --- a/ui/curses.c +++ b/ui/curses.c @@ -75,9 +75,9 @@ static void curses_update(DisplayChangeListener *dcl, if (vga_to_curses[ch].chars[0]) { curses_line[x] = vga_to_curses[ch]; } else { - curses_line[x].chars[0] = ch; - curses_line[x].chars[1] = 0; - curses_line[x].attr = 0; + curses_line[x] = (cchar_t) { + .chars[0] = ch, + }; } curses_line[x].attr |= at; } |