id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking,branch_state,votes 3066,Refactoring of dir_list and related code,andrew_b,andrew_b,"{{{ typedef struct { file_entry *list; int size; } dir_list; }}} The dir_list structure contains two members: * list -- the array of file_entry items * size -- number of allocated items in list (the capacity) There is no member here which stored number of used elements in list. This info is kept outside dir_list (WPanel::count for reference). Actually, dir_list should have a member (len) to keep an actual length of list (number of used elements). ",task,closed,major,4.8.11,mc-core,master,fixed,,,,,merged,committed-master