Browse Source

Fixed incorrect whitespace for arguments

Ivan Arkhipov 3 years ago
parent
commit
dd3ecd3a6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/subfiles/textsubfile.cpp

+ 1 - 1
src/subfiles/textsubfile.cpp

@@ -258,7 +258,7 @@ BinaryData Subfile<TEXT>::BuildPieces(const BinaryData& data, const TextFragment
     size_t next = text_data.find(DNT, prev);
 
     while (next != std::string::npos) {
-        std::u16string piece = (next - prev == 0) ? u" " : text_data.substr(prev, next - prev);
+        std::u16string piece = (next - prev == 0) ? u"" : text_data.substr(prev, next - prev);
         text_pieces.push_back(piece);
         prev = next + DNT.length();
         next = text_data.find(DNT, prev);