[fbreader] Housekeeping
Indentation
This commit is contained in:
parent
ae8986bb4f
commit
ab68bef4e6
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ void ZLTextArea::prepareTextLine(Style &style, const ZLTextLineInfo &info, int y
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Fall through to center "justified" images
|
// Fall through to center "justified" images
|
||||||
case ALIGN_CENTER:
|
case ALIGN_CENTER:
|
||||||
x += (metrics.FullWidth - style.textStyle()->lineEndIndent(metrics, isRtl()) - info.Width) / 2;
|
x += (metrics.FullWidth - style.textStyle()->lineEndIndent(metrics, isRtl()) - info.Width) / 2;
|
||||||
break;
|
break;
|
||||||
case ALIGN_UNDEFINED:
|
case ALIGN_UNDEFINED:
|
||||||
|
|
|
@ -135,7 +135,7 @@ ZLTextLineInfoPtr ZLTextArea::processTextLine(Style &style, const ZLTextWordCurs
|
||||||
info.Width = info.StartIndent;
|
info.Width = info.StartIndent;
|
||||||
|
|
||||||
if (info.RealStart.equalElementIndex(end)) {
|
if (info.RealStart.equalElementIndex(end)) {
|
||||||
info.End = info.RealStart;
|
info.End = info.RealStart;
|
||||||
return infoPtr;
|
return infoPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue