From cc1bb0edc07a552ee979e9b1e331a5ae129562d7 Mon Sep 17 00:00:00 2001 From: vog Date: Fri, 14 Sep 2012 16:06:18 +0000 Subject: [PATCH] Bugfix in EPS debug output --- src/epsimage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/epsimage.cpp b/src/epsimage.cpp index 9d9cf4f7..06fd2d59 100644 --- a/src/epsimage.cpp +++ b/src/epsimage.cpp @@ -439,6 +439,7 @@ namespace { if (significantLine) { EXV_DEBUG << "readWriteEpsMetadata: Found significant line \"" << line << "\" at position: " << startPos << "\n"; } + significantLine = true; #endif if (depth != 0) continue; // explicit "Begin" comments @@ -495,6 +496,7 @@ namespace { if (significantLine) { EXV_DEBUG << "readWriteEpsMetadata: Found significant line \"" << line << "\" at position: " << startPos << "\n"; } + significantLine = true; #endif // implicit comments if (line == "%%EOF" || line == "%begin_xml_code" || !(line.size() >= 2 && line[0] == '%' && '\x21' <= line[1] && line[1] <= '\x7e')) {