From: Jean-Marc Lasgouttes Date: Fri, 14 Dec 2007 14:52:52 +0000 (+0000) Subject: * fix out-of-vector addressing when typesetting UserGuide. X-Git-Tag: 1.6.10~6924 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e1a2703a797dbcf82788bcb44b093affa5dd7771;p=lyx.git * fix out-of-vector addressing when typesetting UserGuide. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22147 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 6b6287d9f8..81e295c84b 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -915,7 +915,7 @@ bool Paragraph::Private::latexSpecialT1(char_type const c, odocstream & os, os.put(c); // In T1 encoding, these characters exist // but we should avoid ligatures - if (i + 1 > int(text_.size()) || text_[i + 1] != c) + if (i + 1 >= int(text_.size()) || text_[i + 1] != c) return true; os << "\\,{}"; column += 3;