Rev 5510 | Rev 5514 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5510 | Rev 5513 | ||
---|---|---|---|
Line 115... | Line 115... | ||
115 | byte id; |
115 | byte id; |
116 | byte key; |
116 | byte key; |
117 | dword file_name_off; |
117 | dword file_name_off; |
118 | dword element_size; |
118 | dword element_size; |
119 | dword selected_offset2; |
119 | dword selected_offset2; |
120 | int cont = 0; |
- | |
121 | char element_size_label[32]; |
120 | char element_size_label[32]; |
122 | proc_info settings_form; |
121 | proc_info settings_form; |
Line 123... | Line 122... | ||
123 | 122 | ||
124 | strcpy(#folder_info, "\0"); |
123 | strcpy(#folder_info, "\0"); |
125 | file_count = 0; |
124 | file_count = 0; |
126 | dir_count = 0; |
125 | dir_count = 0; |
Line 127... | Line -... | ||
127 | size_dir = 0; |
- | |
128 | - | ||
129 | for (i=0; i |
- | |
130 | { |
- | |
131 | selected_offset2 = file_mas[i]*304 + buf+32 + 7; |
- | |
132 | if (ESBYTE[selected_offset2]) cont++; |
- | |
133 | } |
126 | size_dir = 0; |
134 | 127 | ||
135 | if (cont) GetSizeMoreFiles(#path); |
128 | if (selected_count) GetSizeMoreFiles(#path); |
136 | else |
129 | else |
137 | { |
130 | { |
138 | GetFileInfo(#file_path, #file_info_general); |
131 | GetFileInfo(#file_path, #file_info_general); |
Line 173... | Line 166... | ||
173 | WriteText(10, 50, 0x80, 0x000000, PR_T_DEST); |
166 | WriteText(10, 50, 0x80, 0x000000, PR_T_DEST); |
174 | edit_box_draw stdcall (#path_to_file_ed); |
167 | edit_box_draw stdcall (#path_to_file_ed); |
Line 175... | Line 168... | ||
175 | 168 | ||
Line 176... | Line 169... | ||
176 | WriteText(10, 65, 0x80, 0x000000, PR_T_SIZE); |
169 | WriteText(10, 65, 0x80, 0x000000, PR_T_SIZE); |
177 | 170 | ||
178 | if (cont) |
171 | if (selected_count) |
179 | { |
172 | { |
180 | Put_icon('', 18, 20, 0xFFFfff, 0); |
173 | Put_icon('', 18, 20, 0xFFFfff, 0); |
181 | strcpy(#folder_info, SET_6); |
174 | strcpy(#folder_info, SET_6); |