From: cyreve Date: Fri, 10 Feb 2006 21:30:49 +0000 (+0000) Subject: bug 1412504: infinite loop when moving a word to the left when already at the start... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35b49e229ec45b8a60b7fbcc6289ca7ed3a6fe95;p=inkscape.git bug 1412504: infinite loop when moving a word to the left when already at the start of text --- diff --git a/src/libnrtype/Layout-TNG-OutIter.cpp b/src/libnrtype/Layout-TNG-OutIter.cpp index 3dd043a68..8c525084e 100755 --- a/src/libnrtype/Layout-TNG-OutIter.cpp +++ b/src/libnrtype/Layout-TNG-OutIter.cpp @@ -753,7 +753,7 @@ bool Layout::iterator::prevLineCursor() for ( ; ; ) { \ if (_char_index == 0) { \ _glyph_index = 0; \ - return true; \ + return false; \ } \ _char_index--; \ if (_parent_layout->_characters[_char_index].char_attributes.attr) break; \