From: Georg Baum Date: Sun, 1 Feb 2015 11:49:41 +0000 (+0100) Subject: Oops X-Git-Tag: 2.2.0alpha1~1333 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e6354e1a179838396eaae4ef3f4fada4b376fd55;p=features.git Oops --- diff --git a/src/insets/InsetSpace.cpp b/src/insets/InsetSpace.cpp index 5720731693..8f746f5e31 100644 --- a/src/insets/InsetSpace.cpp +++ b/src/insets/InsetSpace.cpp @@ -706,13 +706,13 @@ int InsetSpace::docbook(odocstream & os, OutputParams const &) const os << " "; break; case InsetSpaceParams::QUAD: - os << " " + os << " "; break; case InsetSpaceParams::QQUAD: - os << "  " + os << "  "; break; case InsetSpaceParams::ENSKIP: - os << " " + os << " "; break; case InsetSpaceParams::PROTECTED: os << " "; diff --git a/src/insets/InsetSpecialChar.cpp b/src/insets/InsetSpecialChar.cpp index 58df102dde..59ce69a9f6 100644 --- a/src/insets/InsetSpecialChar.cpp +++ b/src/insets/InsetSpecialChar.cpp @@ -252,8 +252,8 @@ int InsetSpecialChar::plaintext(odocstringstream & os, os << '.'; return 1; case LDOTS: - os << "..."; - return 3; + os.put(0x2026); + return 1; case MENU_SEPARATOR: os << "->"; return 2; @@ -278,7 +278,7 @@ int InsetSpecialChar::docbook(odocstream & os, OutputParams const &) const os << '.'; break; case LDOTS: - os << "..."; + os << "…"; break; case MENU_SEPARATOR: os << "&lyxarrow;";