Changeset 2037

Show
Ignore:
Timestamp:
07/01/10 09:06:58 (2 months ago)
Author:
x.pechoultres@…
Message:

Pdf : fix html layout bug infinite loop

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/Pdf/source/html.cl

    r2002 r2037  
    17901790 
    17911791[auto_layout(self:html_inline_content, freebox:wrap_box) : void -> 
     1792        //[1] auto_layout(~S,~S) // self, freebox, 
    17921793        if (self.lines[1].words) 
    17931794                let d := self.ref_doc, 
     
    19031904                                                                        i :+ 1, 
    19041905                                                                        x :+ ww, 
    1905                                                                         line.width := x - freebox.X)))), 
     1906                                                                        line.width := x - freebox.X)), 
     1907                                                any (//[0] warning : found any in auto_layout(~S,~S) ~S // self,freebox,w, 
     1908                                                        i :+ 1))), 
    19061909                        shrink(l, len - 1), 
    19071910                        post_layout(self, freebox))]