Subversion Repositories Kolibri OS

Rev

Rev 5746 | Rev 5978 | 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;
4718 leency 5
		int t;
4636 leency 6
 
7
		free(history_pointer);
8
		history_pointer = malloc(64000);
4692 leency 9
		strcat(history_pointer, "History

History

");
4636 leency 10
		strcat(history_pointer, "

Visited pages


");
11
		for (i=1; i
12
		{
4718 leency 13
			// t = BrowserHistory.GetFirstLine(i);
14
			// strcat(history_pointer, itoa(t));
15
			strcat(history_pointer, " ");
18
			strcat(history_pointer, BrowserHistory.GetUrl(i));
19
			strcat(history_pointer, "
");
20
		}
5685 leency 21
		strcat(history_pointer, "

Cached images

");
4636 leency 22
		for (i=1; i
23
		{
24
			strcat(history_pointer, "
");
4636 leency 27
			strcat(history_pointer, #pics[i].path);
28
		}
4692 leency 29
		strcat(history_pointer, "");
5747 leency 30
		WB1.LoadInternalPage(history_pointer, strlen(history_pointer));
4636 leency 31
}