diff --git a/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_prepareTextLine.cpp b/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_prepareTextLine.cpp index 4c59a2b..dffb857 100644 --- a/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_prepareTextLine.cpp +++ b/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_prepareTextLine.cpp @@ -115,7 +115,7 @@ void ZLTextArea::prepareTextLine(Style &style, const ZLTextLineInfo &info, int y break; } // Fall through to center "justified" images - case ALIGN_CENTER: + case ALIGN_CENTER: x += (metrics.FullWidth - style.textStyle()->lineEndIndent(metrics, isRtl()) - info.Width) / 2; break; case ALIGN_UNDEFINED: diff --git a/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_processTextLine.cpp b/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_processTextLine.cpp index 12ca758..11c7395 100644 --- a/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_processTextLine.cpp +++ b/fbreader/fbreader/zlibrary/text/src/area/ZLTextArea_processTextLine.cpp @@ -135,7 +135,7 @@ ZLTextLineInfoPtr ZLTextArea::processTextLine(Style &style, const ZLTextWordCurs info.Width = info.StartIndent; if (info.RealStart.equalElementIndex(end)) { - info.End = info.RealStart; + info.End = info.RealStart; return infoPtr; }