From: David Griffith Date: Sun, 26 Aug 2018 18:55:28 +0000 (-0700) Subject: Change piracy opcode option in sfrotz from -p to -P to match the other ports X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=779b50c0a3296f55646978b761c2ae7328ed573f;p=liskon_frotz.git Change piracy opcode option in sfrotz from -p to -P to match the other ports --- 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;