QzHTMLLabel Bug

17 views
Skip to first unread message

unclevader

unread,
Mar 19, 2009, 7:25:58 AM3/19/09
to QuickZip
Hi!
First of all Sorry for my english ))
I was started using this stuff for my app and want to talk you about
finded bug

module QzHtmlLabel2

procedure TQzMiniHtml2.Update;
var i,index : integer;
Tag : aTag;
CurrentX, CurrentY, LineHeight : integer;
Line : integer;
align1 : string;
procedure CheckAlign;
var current,modifier,j : integer;
Tag : aTag;
begin
current := i;

this last line have a bug, one should:
current := i-1;

in case using align="centre" or "right" text in tag <font> incorrectly
formatting output view
Reply all
Reply to author
Forward
0 new messages