aboutsummaryrefslogtreecommitdiffstats
path: root/radharc.c
diff options
context:
space:
mode:
Diffstat (limited to 'radharc.c')
-rw-r--r--radharc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radharc.c b/radharc.c
index f67ae8f..10969b1 100644
--- a/radharc.c
+++ b/radharc.c
@@ -165,7 +165,7 @@ handle_opt(char *opt, char *arg)
*p++ = '\0';
if (*arg && parse_double(&high_temp, arg))
usage();
- if (*p && parse_double(&high_elev, p))
+ if (p && parse_double(&high_elev, p))
usage();
return 1;
case 'l':
@@ -174,7 +174,7 @@ handle_opt(char *opt, char *arg)
*p++ = '\0';
if (*arg && parse_double(&low_temp, arg))
usage();
- if (*p && parse_double(&low_elev, p))
+ if (p && parse_double(&low_elev, p))
usage();
return 1;
case 'L':