From 021fb0d9e94b222e46994cfdf3d05dd09f7797cd Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 10 Feb 2006 21:30:49 +0000 Subject: bug 1412504: infinite loop when moving a word to the left when already at the start of text (bzr r116) --- src/libnrtype/Layout-TNG-OutIter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; \ -- cgit v1.2.3