From bd3a42878a29cc88eb65c0fce819be57a476473a Mon Sep 17 00:00:00 2001 From: David Griffith Date: Sun, 21 Jul 2019 17:38:34 -0700 Subject: [PATCH] Set h_config and h_flags properly concerning graphics in curses. I noticed this was being done in the old V6 semi-support for the dumb interface. For some reason, Alembic didn't see fit to copy it over to when he submitted his V6 semi-support for the curses interface. This should probably be done for SDL as well. --- src/curses/ux_pic.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/curses/ux_pic.c b/src/curses/ux_pic.c index c413233..d765eba 100644 --- a/src/curses/ux_pic.c +++ b/src/curses/ux_pic.c @@ -164,6 +164,10 @@ bool unix_init_pictures (void) success = TRUE; } /* for */ + + if (success) h_config |= CONFIG_PICTURES; + else h_flags &= ~GRAPHICS_FLAG; + return success; } -- 2.34.1