Skip to content
Permalink
Browse files

Fix segfault while scrolling

  • Loading branch information
EXL committed May 10, 2018
1 parent 4f4aae6 commit e54d409c1d8625679a1732395069388363f2da9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 crengine/src/hist.cpp
@@ -449,7 +449,7 @@ lString16 CRBookmark::getChapterName( ldomXPointer ptr )
{
ldomXPointerEx p( ptr );
p.nextText();
while ( !p.isNull() ) {
while ( !p && !p.isNull() ) {
if ( !p.prevElement() )
break;
bool foundSection = p.findElementInPath( section_id ) > 0;

0 comments on commit e54d409

Please sign in to comment.
You can’t perform that action at this time.