fix perm_invent via 'O' border issue
> Start with default symbol set and with perm_invent Off. > Use 'O' to change perm_invent to On. The inventory with > boundary box lines will briefly appear, then immediately be > redrawn without those lines.
This commit is contained in:
+2
-1
@@ -560,7 +560,8 @@ tty_preference_update(const char *pref)
|
|||||||
than temporary switch to the rogue one), redraw perm_invent; not
|
than temporary switch to the rogue one), redraw perm_invent; not
|
||||||
only might individual symbols change (punctuation vs line drawing),
|
only might individual symbols change (punctuation vs line drawing),
|
||||||
the way to render them might change too (Handling: DEC/UTF8/&c) */
|
the way to render them might change too (Handling: DEC/UTF8/&c) */
|
||||||
if (!strcmp(pref, "symset") && iflags.window_inited) {
|
if ((!strcmp(pref, "symset") || !strcmp(pref, "perm_invent"))
|
||||||
|
&& iflags.window_inited) {
|
||||||
if (g.perm_invent_win != WIN_ERR)
|
if (g.perm_invent_win != WIN_ERR)
|
||||||
tty_invent_box_glyph_init(wins[g.perm_invent_win]);
|
tty_invent_box_glyph_init(wins[g.perm_invent_win]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user