Subversion Repositories Kolibri OS

Rev

Rev 7739 | Rev 7743 | 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

");
7739 leency 10
		strcat(history_pointer, "
Visited pages
");
6045 leency 11
		for (i=0; i
4636 leency 12
		{
7742 leency 13
			strcat(history_pointer, "");
6021 leency 16
			strcat(history_pointer, history.items.get(i));
4636 leency 17
			strcat(history_pointer, "
");
18
		}
7742 leency 19
		strcat(history_pointer, "
Cached images
");
4636 leency 20
		for (i=1; i
21
		{
7742 leency 22
			strcat(history_pointer, "");
25
			strcat(history_pointer, #pics[i].path);
26
			strcat(history_pointer, "
");
27
			/*
4636 leency 28
			strcat(history_pointer, "
");
4636 leency 31
			strcat(history_pointer, #pics[i].path);
7742 leency 32
			*/
4636 leency 33
		}
4692 leency 34
		strcat(history_pointer, "");
5747 leency 35
		WB1.LoadInternalPage(history_pointer, strlen(history_pointer));
4636 leency 36
}