Ver código fonte

Fixed incorrect whitespace for arguments

Ivan Arkhipov 3 anos atrás
pai
commit
dd3ecd3a6d
1 arquivos alterados com 1 adições e 1 exclusões
  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);