WebView 3.6: better table support, bugfixes

git-svn-id: svn://kolibrios.org@9294 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2021-11-21 11:42:21 +00:00
parent 40ec5cc46e
commit 53fd96fe51
4 changed files with 60 additions and 12 deletions

View File

@@ -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()