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:
b0db901
)
Fix -L option in curses port
author
Bill Lash
<william.lash@gmail.com>
Thu, 20 Dec 2018 00:38:44 +0000
(18:38 -0600)
committer
Bill Lash
<william.lash@gmail.com>
Thu, 20 Dec 2018 00:38:44 +0000
(18:38 -0600)
When the -R option of curses frotz was renamed -L the L was left out
of the options string passed to getopt. This caused the -L option
to not be recognized
src/curses/ux_init.c
patch
|
blob
|
history
diff --git
a/src/curses/ux_init.c
b/src/curses/ux_init.c
index 98aa140fdee564cfcf5e567e3dd63b959ac30fb7..50adedb99ae462bce13ce0995746269be6a3afc5 100644
(file)
--- a/
src/curses/ux_init.c
+++ b/
src/curses/ux_init.c
@@
-249,7
+249,7
@@
void os_process_arguments (int argc, char *argv[])
/* Parse the options */
do {
- c = zgetopt(argc, argv, "-aAb:c:def:Fh:iI:l:oOpPqrR:s:S:tu:vw:W:xZ:");
+ c = zgetopt(argc, argv, "-aAb:c:def:Fh:iI:l:
L:
oOpPqrR:s:S:tu:vw:W:xZ:");
switch(c) {
case 'a': f_setup.attribute_assignment = 1; break;
case 'A': f_setup.attribute_testing = 1; break;