aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-08-31 21:08:47 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-08-31 21:08:47 +0200
commit54211c98457ee0457d775df44f0ec47937f44c3c (patch)
tree3363d64351cd533cd4751233a0f11b3577c1a097
parent4419fe32edf535d7c878596d0618be41946335f4 (diff)
downloadPROJ-54211c98457ee0457d775df44f0ec47937f44c3c.tar.gz
PROJ-54211c98457ee0457d775df44f0ec47937f44c3c.zip
io.cpp: remove always true test
-rw-r--r--src/iso19111/io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp
index b7421afc..9dc0eb6c 100644
--- a/src/iso19111/io.cpp
+++ b/src/iso19111/io.cpp
@@ -8005,7 +8005,7 @@ const std::string &PROJStringFormatter::toString() const {
if (d->maxLineLength_ > 0 && d->multiLine_ &&
curLine.size() + newKV.size() >
static_cast<size_t>(d->maxLineLength_)) {
- if (d->multiLine_ && !d->result_.empty())
+ if (!d->result_.empty())
d->result_ += '\n';
d->result_ += curLine;
curLine = std::string(