summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pr.c b/src/pr.c
index c49819d80..1abb686bb 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -455,7 +455,8 @@ main (argc, argv)
s = optarg;
if (*s == '+')
{
- if (!ISDIGIT (*++s))
+ ++s;
+ if (!ISDIGIT (*s))
usage ("`+' requires a numeric argument");
first_page_number = atoi (s);
}