aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-10-10 16:57:12 +0200
committerMattias Andrée <maandree@kth.se>2019-10-10 16:57:12 +0200
commit57694831b43f226d7f741d8b6a1e2ba966e4458f (patch)
tree9991cc2a6b3d66b6a17232289f4566c4af7c0f85
parentUpdate config.mk (diff)
downloadradharc-1.0.1.tar.gz
radharc-1.0.1.tar.bz2
radharc-1.0.1.tar.xz
m fix1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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':