Subversion Repositories Kolibri OS

Rev

Rev 4636 | Rev 4718 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4636 leency 1
ShowHistory()
2
{
3
		int i;
4
		static int history_pointer;
5
 
6
		free(history_pointer);
7
		history_pointer = malloc(64000);
4692 leency 8
		strcat(history_pointer, "History

History

");
4636 leency 9
		strcat(history_pointer, "

Visited pages


");
10
		for (i=1; i
11
		{
12
			strcat(history_pointer, "");
15
			strcat(history_pointer, BrowserHistory.GetUrl(i));
16
			strcat(history_pointer, "
");
17
		}
18
		strcat(history_pointer, "

Cached images


");
19
		for (i=1; i
20
		{
21
			strcat(history_pointer, "
");
4636 leency 24
			strcat(history_pointer, #pics[i].path);
25
		}
4692 leency 26
		strcat(history_pointer, "");
4636 leency 27
		WB1.Prepare(history_pointer, strlen(history_pointer));
28
}