Rev 5746 | Rev 5978 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5746 | Rev 5747 | ||
---|---|---|---|
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 | int t; |
6 | 6 | ||
7 | free(history_pointer); |
7 | free(history_pointer); |
8 | history_pointer = malloc(64000); |
8 | history_pointer = malloc(64000); |
9 | strcat(history_pointer, " |
9 | strcat(history_pointer, " |
10 | strcat(history_pointer, " |
10 | strcat(history_pointer, " |
11 | for (i=1; i |
11 | for (i=1; i |
12 | { |
12 | { |
13 | // t = BrowserHistory.GetFirstLine(i); |
13 | // t = BrowserHistory.GetFirstLine(i); |
14 | // strcat(history_pointer, itoa(t)); |
14 | // strcat(history_pointer, itoa(t)); |
15 | strcat(history_pointer, " |
||
16 | strcat(history_pointer, BrowserHistory.GetUrl(i)); |
16 | strcat(history_pointer, BrowserHistory.GetUrl(i)); |
17 | strcat(history_pointer, "'>"); |
17 | strcat(history_pointer, "'>"); |
18 | strcat(history_pointer, BrowserHistory.GetUrl(i)); |
18 | strcat(history_pointer, BrowserHistory.GetUrl(i)); |
19 | strcat(history_pointer, " |
19 | strcat(history_pointer, " |
20 | } |
20 | } |
21 | strcat(history_pointer, " |
21 | strcat(history_pointer, " |
22 | for (i=1; i |
22 | for (i=1; i |
23 | { |
23 | { |
24 | strcat(history_pointer, " |
||
25 | strcat(history_pointer, #pics[i].path); |
25 | strcat(history_pointer, #pics[i].path); |
26 | strcat(history_pointer, "'> |
26 | strcat(history_pointer, "'> |
27 | strcat(history_pointer, #pics[i].path); |
27 | strcat(history_pointer, #pics[i].path); |
28 | } |
28 | } |
29 | strcat(history_pointer, ""); |
29 | strcat(history_pointer, ""); |
30 | LoadInternalPage(history_pointer, strlen(history_pointer)); |
30 | WB1.LoadInternalPage(history_pointer, strlen(history_pointer)); |
31 | } |
31 | } |
32 | 32 |