From fedf5aebe341cd108d35b969149728bd81b1c15d Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 7 May 2009 13:56:21 +0000 Subject: [PATCH] Thinko. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29562 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/lstrings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] == ' ') -- 2.39.5