Rev 5825 | Rev 5834 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5825 | Rev 5833 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | int selected_count; |
50 | int selected_count; |
Line 51... | Line 51... | ||
51 | 51 | ||
52 | 52 | ||
- | 53 | byte |
|
53 | byte |
54 | path[4096], |
54 | path[4096], |
55 | DefaultPath[4096], |
55 | file_path[4096], |
56 | file_path[4096], |
56 | file_name[256], |
57 | file_name[256], |
57 | new_element_name[256], |
58 | new_element_name[256], |
Line 121... | Line 122... | ||
121 | if (param) |
122 | if (param) |
122 | { |
123 | { |
123 | strcpy(#path, #param); |
124 | strcpy(#path, #param); |
124 | if (path[strlen(#path)-1]!='/') chrcat(#path, '/'); //add "/" to the end of the string |
125 | if (path[strlen(#path)-1]!='/') chrcat(#path, '/'); //add "/" to the end of the string |
125 | } |
126 | } |
126 | else |
- | |
127 | { |
- | |
128 | strlcpy(#path, "/rd/1/", 6); |
- | |
129 | } |
127 | |
130 | Open_Dir(#path,ONLY_OPEN); |
128 | Open_Dir(#path,ONLY_OPEN); |
131 | strcpy(#inactive_path, #path); |
129 | strcpy(#inactive_path, #path); |
132 | llist_copy(#files_inactive, #files); |
130 | llist_copy(#files_inactive, #files); |
133 | font.no_bg_copy = true; |
131 | font.no_bg_copy = true; |
134 | font.load("/sys/fonts/tahoma.kf"); |
132 | font.load("/sys/fonts/tahoma.kf"); |