diff --git a/src/tools/syncqt/main.cpp b/src/tools/syncqt/main.cpp index 3255c6ad9a..dbb3d30aaa 100644 --- a/src/tools/syncqt/main.cpp +++ b/src/tools/syncqt/main.cpp @@ -1102,6 +1102,8 @@ public: // - start-end of class/structures // And avoid processing of the the data inside these blocks. for (std::size_t i = 0; i < line.size(); ++i) { + if (line[i] == '\r') + continue; if (bracesDepth == namespaceCount) { if (line[i] == '/') { if ((i + 1) < line.size()) {