From 779b50c0a3296f55646978b761c2ae7328ed573f Mon Sep 17 00:00:00 2001 From: David Griffith Date: Sun, 26 Aug 2018 11:55:28 -0700 Subject: [PATCH] Change piracy opcode option in sfrotz from -p to -P to match the other ports --- src/sdl/sf_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sdl/sf_util.c b/src/sdl/sf_util.c index f742dfa..27a238c 100644 --- a/src/sdl/sf_util.c +++ b/src/sdl/sf_util.c @@ -126,7 +126,7 @@ static char *infos[] = { "-L use local resources", "-o watch object movement", "-O watch object locating", - "-p alter piracy opcode", + "-P alter piracy opcode", "-q quiet (disable sound)", "-r # right margin", "-s # random number seed value", @@ -184,7 +184,7 @@ extern char *optarg; extern int optind; extern int m_timerinterval; -static char *options = "@:aAb:B:c:f:Fh:iI:l:Lm:N:oOpqr:Rs:S:tTu:vVw:xZ:"; +static char *options = "@:aAb:B:c:f:Fh:iI:l:Lm:N:oOPqr:Rs:S:tTu:vVw:xZ:"; static int limit( int v, int m, int M) { @@ -247,7 +247,7 @@ static void parse_options (int argc, char **argv) f_setup.object_movement = 1; if (c == 'O') f_setup.object_locating = 1; - if (c == 'p') + if (c == 'P') f_setup.piracy = 1; if (c == 'r') f_setup.right_margin = num; -- 2.34.1