Compare commits
No commits in common. "feature" and "master" have entirely different histories.
1 changed files with 1 additions and 2 deletions
3
ccc.c
3
ccc.c
|
@ -837,11 +837,10 @@ void show_file_content()
|
|||
{
|
||||
file current_file = files->items[current_selection];
|
||||
|
||||
wclear(preview_content);
|
||||
if (strncmp(current_file.type, "DIR", 3) == 0)
|
||||
/* Print dir content */
|
||||
return;
|
||||
|
||||
wclear(preview_content);
|
||||
|
||||
FILE *file = fopen(current_file.path, "r");
|
||||
if (file == NULL) {
|
||||
|
|
Loading…
Reference in a new issue