From 35b49e229ec45b8a60b7fbcc6289ca7ed3a6fe95 Mon Sep 17 00:00:00 2001 From: cyreve Date: Fri, 10 Feb 2006 21:30:49 +0000 Subject: [PATCH] bug 1412504: infinite loop when moving a word to the left when already at the start of text --- src/libnrtype/Layout-TNG-OutIter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.30.2