diff options
author | Mattias Andrée <maandree@kth.se> | 2019-10-10 16:57:12 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-10-10 16:57:12 +0200 |
commit | 57694831b43f226d7f741d8b6a1e2ba966e4458f (patch) | |
tree | 9991cc2a6b3d66b6a17232289f4566c4af7c0f85 | |
parent | Update config.mk (diff) | |
download | radharc-57694831b43f226d7f741d8b6a1e2ba966e4458f.tar.gz radharc-57694831b43f226d7f741d8b6a1e2ba966e4458f.tar.bz2 radharc-57694831b43f226d7f741d8b6a1e2ba966e4458f.tar.xz |
m fix1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | radharc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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': |