[Webkit-unassigned] [Bug 27561] ImageDecoder enhancements for WINCE port
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 7 13:36:46 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27561
--- Comment #21 from George Staikos <staikos at kde.org> 2009-08-07 13:36:46 PDT ---
(In reply to comment #20)
> (In reply to comment #18)
> > (From update of attachment 33341 [details] [details])
> > Tabs:
> > 84 for (int scaledX = 0;;) {
> > 85 int x = scaledX * zoom + 0.5;
> > 86 if (x < width) {
> > 87 m_scaledColumns.append(x);
> > 88 ++scaledX;
> > 89 } else
> > 90 break;
> > 91 }
> > Why not while(true) there?
>
> why "while(true)"?
Definitely not while(true). you initialize a variable for use in the for() and
then let it pop off the stack once the loop exits. The code is right as-is.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list