Rev 8336 | Rev 8947 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8336 | Rev 8944 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | { |
80 | { |
81 | filename = i*304+dirbuf+72; |
81 | filename = i*304+dirbuf+72; |
82 | strcpy(cur_file, way); |
82 | strcpy(cur_file, way); |
83 | chrcat(cur_file, '/'); |
83 | chrcat(cur_file, '/'); |
84 | strcat(cur_file, filename); |
84 | strcat(cur_file, filename); |
85 | if ( TestBit(ESDWORD[filename-40], 4) ) |
85 | if ( ESDWORD[filename-40] & ATR_FOLDER ) |
86 | { |
86 | { |
87 | SetPropertiesDir(cur_file); |
87 | SetPropertiesDir(cur_file); |
88 | } |
88 | } |
89 | SetPropertiesFile(cur_file, #file_info_dirsize); |
89 | SetPropertiesFile(cur_file, #file_info_dirsize); |
90 | } |
90 | } |
Line 156... | Line 156... | ||
156 | for (i=0; i |
156 | for (i=0; i |
157 | { |
157 | { |
158 | if (getElementSelectedFlag(i) == true) |
158 | if (getElementSelectedFlag(i) == true) |
159 | { |
159 | { |
160 | sprintf(#cur_file,"%s/%s",way,items.get(i)*304+buf+72); |
160 | sprintf(#cur_file,"%s/%s",way,items.get(i)*304+buf+72); |
161 | if (TestBit(ESDWORD[items.get(i)*304+buf+32], 4) ) |
161 | if (ESDWORD[items.get(i)*304+buf+32] & ATR_FOLDER ) |
162 | { |
162 | { |
163 | more_files_count.calculate_loop(#cur_file); |
163 | more_files_count.calculate_loop(#cur_file); |
164 | more_files_count.folders++; |
164 | more_files_count.folders++; |
165 | } |
165 | } |
166 | else |
166 | else |