]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.cpp
Fix a comment.
[features.git] / src / Paragraph.cpp
index abb2768d756601b0f12283c0fa1399d319578bdb..55896c9a866fd76805e3b0ebf1d826ae961aff71 100644 (file)
@@ -1238,10 +1238,8 @@ void Paragraph::Private::latexSpecialChar(otexstream & os,
                if (i + 1 < static_cast<pos_type>(text_.size()) &&
                    (end_pos == -1 || i + 1 < end_pos) &&
                    text_[i+1] == '-') {
-                       // Prevent "--" becoming an endash and "---" becoming
-                       // an emdash.
-                       // Within \ttfamily, "--" is merged to "-" (no endash)
-                       // so we avoid this rather irritating ligature as well
+                       // Prevent "--" becoming an en dash and "---" an em dash.
+                       // (Within \ttfamily, "---" is merged to en dash + hyphen.)
                        os << "{}";
                        column += 2;
                }