WebView 1.0 Beta 4: fixes, view page source

git-svn-id: svn://kolibrios.org@4718 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2014-03-30 11:57:13 +00:00
parent 6fafe38cf6
commit cb9906f10d
9 changed files with 209 additions and 93 deletions

View File

@@ -2,6 +2,7 @@ ShowHistory()
{
int i;
static int history_pointer;
int t;
free(history_pointer);
history_pointer = malloc(64000);
@@ -9,7 +10,9 @@ ShowHistory()
strcat(history_pointer, "<h2>Visited pages</h2><blockquote><br>");
for (i=1; i<BrowserHistory.links_count; i++)
{
strcat(history_pointer, "<a href='");
// t = BrowserHistory.GetFirstLine(i);
// strcat(history_pointer, itoa(t));
strcat(history_pointer, " <a href='");
strcat(history_pointer, BrowserHistory.GetUrl(i));
strcat(history_pointer, "'>");
strcat(history_pointer, BrowserHistory.GetUrl(i));