]> git.lyx.org Git - features.git/commitdiff
Thinko.
authorRichard Heck <rgheck@comcast.net>
Thu, 7 May 2009 13:56:21 +0000 (13:56 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 7 May 2009 13:56:21 +0000 (13:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29562 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/lstrings.cpp

index 9f4824270bb2943ab5af3539d04a51c170872b36..bc2819e15976f706668e1acfe4dac193bc4c57b3 100644 (file)
@@ -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] == ' ')