WebView 2.0 beta 2: WebView.c refactoring

git-svn-id: svn://kolibrios.org@7755 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-03-27 10:38:54 +00:00
parent 6a00fc624a
commit f608182ea2
12 changed files with 257 additions and 260 deletions

View File

@@ -189,7 +189,7 @@ void SetPageDefaults()
void OpenPage()
{
char getUrl[URL_SIZE];
char getUrl[URL_SIZE+1];
strcpy(#editURL, #URL);
history.add(#URL);
if (!strncmp(#URL,"CodeView:",8))
@@ -239,6 +239,7 @@ void ShowPage()
DrawEditBoxWebView();
if (!bufsize) LoadInternalPage(#page_not_found, sizeof(page_not_found));
WB1.ParseHtml();
WB1.DrawPage();
}
void DrawStatusBar() {return;};