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-57694831b43f226d7f741d8b6a1e2ba966e4458f.tar.gz
radharc-57694831b43f226d7f741d8b6a1e2ba966e4458f.tar.bz2
radharc-57694831b43f226d7f741d8b6a1e2ba966e4458f.tar.xz
m fix1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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':