Printers: removed dangling semicolon after "then", patch by n7800, merge request !403

This commit is contained in:
Maxim Ganetsky 2024-12-14 22:27:13 +03:00
parent b807160141
commit c53ead5cc8

View File

@ -154,7 +154,7 @@ begin
// center
vCenter := Height div 2;
// adjust center
if CurPageHeight > CurPageWidth then;
if CurPageHeight > CurPageWidth then
vCenter := vCenter - (txtHeight + cDimLineHeight + cPadding) div 2;
// compute height/width
fHeight := Height - cTopBottomMargin * 2 - txtHeight - cDimLineHeight - cPadding;