Rev 6045 | Rev 7742 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6045 | Rev 7739 | ||
---|---|---|---|
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(history.items.data_size+256); |
8 | history_pointer = malloc(history.items.data_size+256); |
9 | strcat(history_pointer, " |
9 | strcat(history_pointer, " |
10 | strcat(history_pointer, " |
10 | strcat(history_pointer, " |
11 | for (i=0; i |
11 | for (i=0; i |
12 | { |
12 | { |
13 | strcat(history_pointer, " |
||
14 | strcat(history_pointer, history.items.get(i)); |
14 | strcat(history_pointer, history.items.get(i)); |
15 | strcat(history_pointer, "'>"); |
15 | strcat(history_pointer, "'>"); |
16 | strcat(history_pointer, history.items.get(i)); |
16 | strcat(history_pointer, history.items.get(i)); |
17 | strcat(history_pointer, " |
17 | strcat(history_pointer, " |
18 | } |
18 | } |
19 | strcat(history_pointer, " |
19 | strcat(history_pointer, " |
20 | for (i=1; i |
20 | for (i=1; i |
21 | { |
21 | { |
22 | strcat(history_pointer, " |
||
23 | strcat(history_pointer, #pics[i].path); |
23 | strcat(history_pointer, #pics[i].path); |
24 | strcat(history_pointer, "'> |
24 | strcat(history_pointer, "'> |
25 | strcat(history_pointer, #pics[i].path); |
25 | strcat(history_pointer, #pics[i].path); |
26 | } |
26 | } |
27 | strcat(history_pointer, ""); |
27 | strcat(history_pointer, ""); |
28 | WB1.LoadInternalPage(history_pointer, strlen(history_pointer)); |
28 | WB1.LoadInternalPage(history_pointer, strlen(history_pointer)); |
29 | } |
29 | } |