Subversion Repositories Kolibri OS

Rev

Rev 6021 | Rev 7739 | 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);
6021 leency 8
		history_pointer = malloc(history.items.data_size+256);
4692 leency 9
		strcat(history_pointer, "History

History

");
4636 leency 10
		strcat(history_pointer, "

Visited pages


");
6045 leency 11
		for (i=0; i
4636 leency 12
		{
4718 leency 13
			strcat(history_pointer, " ");
6021 leency 16
			strcat(history_pointer, history.items.get(i));
4636 leency 17
			strcat(history_pointer, "
");
18
		}
5685 leency 19
		strcat(history_pointer, "

Cached images

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