WebView 3.6: better table support, bugfixes
git-svn-id: svn://kolibrios.org@9294 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -71,10 +71,12 @@ void TWebBrowser::RenderTextbuf()
|
||||
dword lbp = #linebuf;
|
||||
int br; //break position
|
||||
char nul = '\0';
|
||||
int len;
|
||||
unsigned int len;
|
||||
|
||||
//Do we need a line break?
|
||||
|
||||
|
||||
if (!linebuf[0]) return;
|
||||
|
||||
while (len = strlen(lbp)) && (len * list.font_w + draw_x - left_gap >= draw_w) {
|
||||
//Yes, we do. Lets calculate where...
|
||||
br = len;
|
||||
@@ -109,7 +111,9 @@ void TWebBrowser::RenderTextbuf()
|
||||
RenderLine(lbp);
|
||||
}
|
||||
}
|
||||
debugln("rnd_");
|
||||
RenderLine(lbp);
|
||||
debugln("_rnd");
|
||||
}
|
||||
|
||||
void TWebBrowser::NewLine()
|
||||
|
Reference in New Issue
Block a user