From e1a2703a797dbcf82788bcb44b093affa5dd7771 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 14 Dec 2007 14:52:52 +0000 Subject: [PATCH] * 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 --- src/Paragraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5