From: David Griffith Date: Mon, 22 Jul 2019 00:38:34 +0000 (-0700) Subject: Set h_config and h_flags properly concerning graphics in curses. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=bd3a42878a29cc88eb65c0fce819be57a476473a;p=liskon_frotz.git 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. --- 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; }