small change
This commit is contained in:
5
dir.c
5
dir.c
@@ -136,9 +136,6 @@ void get_dir_content(char *path, dir *dir){
|
|||||||
free(full_path);
|
free(full_path);
|
||||||
free(file);
|
free(file);
|
||||||
free(entry[i]);
|
free(entry[i]);
|
||||||
full_path = NULL;
|
|
||||||
file = NULL;
|
|
||||||
entry[i] = NULL;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -165,7 +162,7 @@ void print_dir(WINDOW *win, char print_info, dir *dir){
|
|||||||
#else
|
#else
|
||||||
long offset_front = 2;
|
long offset_front = 2;
|
||||||
#endif
|
#endif
|
||||||
long selected_file_current = dir->current_file - dir->file_list;
|
unsigned long selected_file_current = dir->current_file - dir->file_list;
|
||||||
|
|
||||||
long offset_index = 2; /* only used for the index of the file itself */
|
long offset_index = 2; /* only used for the index of the file itself */
|
||||||
if (print_info) {
|
if (print_info) {
|
||||||
|
|||||||
Reference in New Issue
Block a user