Subversion Repositories Kolibri OS

Rev

Rev 4636 | Rev 4718 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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

History

");
8
		strcat(history_pointer, "History

History

");
9
		strcat(history_pointer, "

Visited pages


");
9
		strcat(history_pointer, "

Visited pages


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

Cached images


");
18
		strcat(history_pointer, "

Cached images


");
19
		for (i=1; i
19
		for (i=1; i
20
		{
20
		{
21
			strcat(history_pointer, "
22
			strcat(history_pointer, #pics[i].path);
22
			strcat(history_pointer, #pics[i].path);
23
			strcat(history_pointer, "' />
");
23
			strcat(history_pointer, "'>
");
24
			strcat(history_pointer, #pics[i].path);
24
			strcat(history_pointer, #pics[i].path);
25
		}
25
		}
-
 
26
		strcat(history_pointer, "");
26
		WB1.Prepare(history_pointer, strlen(history_pointer));
27
		WB1.Prepare(history_pointer, strlen(history_pointer));
27
}



28
}