Subversion Repositories Kolibri OS

Rev

Rev 4692 | Rev 5685 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4692 Rev 4718
Line 1... Line 1...
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;
Line 5... Line 6...
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
-
 
12
		{
-
 
13
			// t = BrowserHistory.GetFirstLine(i);
11
		{
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, "
");