diff --git a/fbreader/fbreader/zlibrary/text/src/style/ZLTextDecoratedStyle.cpp b/fbreader/fbreader/zlibrary/text/src/style/ZLTextDecoratedStyle.cpp index 028abb7..60f5315 100644 --- a/fbreader/fbreader/zlibrary/text/src/style/ZLTextDecoratedStyle.cpp +++ b/fbreader/fbreader/zlibrary/text/src/style/ZLTextDecoratedStyle.cpp @@ -1,6 +1,6 @@ /* * Copyright (C) 2004-2010 Geometer Plus - * Copyright (C) 2015 Slava Monich + * Copyright (C) 2015-2018 Slava Monich * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -220,7 +220,7 @@ short ZLTextForcedStyle::lineEndIndent(const ZLTextStyleEntry::Metrics &metrics, ZLTextStyleEntry::LENGTH_RIGHT_INDENT; if (!myEntry.lengthSupported(lengthType)) { - return base()->lineStartIndent(metrics, rtl); + return base()->lineEndIndent(metrics, rtl); } const short baseLen = base()->lineEndIndent(metrics, rtl);