From: Richard Heck Date: Thu, 7 May 2009 13:56:21 +0000 (+0000) Subject: Thinko. X-Git-Tag: 2.0.0~6647 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fedf5aebe341cd108d35b969149728bd81b1c15d;p=features.git Thinko. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29562 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/support/lstrings.cpp b/src/support/lstrings.cpp index 9f4824270b..bc2819e159 100644 --- a/src/support/lstrings.cpp +++ b/src/support/lstrings.cpp @@ -944,7 +944,7 @@ docstring wrap(docstring const & str, int const ind, size_t const width) docstring retval; while (s.size() > width) { - size_t i = width - 1; + int i = width - 1; // find the last space for (; i >= 0; --i) if (s[i] == ' ')