Subversion Repositories Kolibri OS

Rev

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

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

History

");
9
		strcat(history_pointer, "History

History

");
9
		strcat(history_pointer, "

Visited pages


");
10
		strcat(history_pointer, "

Visited pages


");
10
		for (i=1; i
11
		for (i=1; i
11
		{
12
		{
-
 
13
			// t = BrowserHistory.GetFirstLine(i);
-
 
14
			// strcat(history_pointer, itoa(t));
12
			strcat(history_pointer, "
13
			strcat(history_pointer, BrowserHistory.GetUrl(i));
16
			strcat(history_pointer, BrowserHistory.GetUrl(i));
14
			strcat(history_pointer, "'>");
17
			strcat(history_pointer, "'>");
15
			strcat(history_pointer, BrowserHistory.GetUrl(i));
18
			strcat(history_pointer, BrowserHistory.GetUrl(i));
16
			strcat(history_pointer, "
");
19
			strcat(history_pointer, "
");
17
		}
20
		}
18
		strcat(history_pointer, "

Cached images


");
21
		strcat(history_pointer, "

Cached images


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



31
}