diff options
Diffstat (limited to 'src/apps')
| -rw-r--r-- | src/apps/proj_strtod.cpp | 2 | ||||
| -rw-r--r-- | src/apps/projinfo.cpp | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/apps/proj_strtod.cpp b/src/apps/proj_strtod.cpp index d4674705..226dfdb9 100644 --- a/src/apps/proj_strtod.cpp +++ b/src/apps/proj_strtod.cpp @@ -263,7 +263,7 @@ double proj_strtod(const char *str, char **endptr) { if ('+'==*p) sign = +1; if (0==sign) { - if (!isdigit(*p) && *p!='_') { + if (!(isdigit(*p) || *p=='_')) { if (endptr) *endptr = p; return HUGE_VAL; diff --git a/src/apps/projinfo.cpp b/src/apps/projinfo.cpp index 41a95237..1e58cfb0 100644 --- a/src/apps/projinfo.cpp +++ b/src/apps/projinfo.cpp @@ -329,9 +329,6 @@ static void outputObject( if (projStringExportable) { if (outputOpt.PROJ5) { try { - if (alreadyOutputed) { - std::cout << std::endl; - } auto crs = nn_dynamic_pointer_cast<CRS>(obj); if (!outputOpt.quiet) { if (crs) { |
