Explorar o código

Fixed incorrect whitespace for arguments

Ivan Arkhipov %!s(int64=4) %!d(string=hai) anos
pai
achega
dd3ecd3a6d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);