Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8163ad0
)
Set h_config and h_flags properly concerning graphics in curses.
author
David Griffith
<dave@661.org>
Mon, 22 Jul 2019 00:38:34 +0000
(17:38 -0700)
committer
David Griffith
<dave@661.org>
Mon, 22 Jul 2019 00:40:43 +0000
(17:40 -0700)
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
patch
|
blob
|
history
diff --git
a/src/curses/ux_pic.c
b/src/curses/ux_pic.c
index c413233553f0e5ac53bc5f50798ba1e00f5cd80e..d765ebac85daa4cdf651fcedb01b52965800d6a9 100644
(file)
--- 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;
}