summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Hughes <cyreve@gmail.com>2006-02-10 21:30:49 +0000
committercyreve <cyreve@users.sourceforge.net>2006-02-10 21:30:49 +0000
commit021fb0d9e94b222e46994cfdf3d05dd09f7797cd (patch)
tree5a9324aa24dbce37eb29226e78cf3e83869d9e5a /src
parentbug 1412947: crash with some (non-truetype?) fonts (diff)
downloadinkscape-021fb0d9e94b222e46994cfdf3d05dd09f7797cd.tar.gz
inkscape-021fb0d9e94b222e46994cfdf3d05dd09f7797cd.zip
bug 1412504: infinite loop when moving a word to the left when already at the start of text
(bzr r116)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/libnrtype/Layout-TNG-OutIter.cpp2
1 files changed, 1 insertions, 1 deletions
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; \