From 4066ad8460c490fa9e2942cf19938a9fbcc03e76 Mon Sep 17 00:00:00 2001 From: Bill Lash Date: Wed, 19 Dec 2018 18:38:44 -0600 Subject: [PATCH] Fix -L option in curses port 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curses/ux_init.c b/src/curses/ux_init.c index 98aa140..50adedb 100644 --- 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; -- 2.34.1