Commit a82d06e2 authored by Ludovic Fauvet's avatar Ludovic Fauvet

directory view: the char array cannot be NULL

parent 0819f100
......@@ -168,9 +168,6 @@ browse(view_sys *dv, const char* path)
/* Browse the current directory */
while ((current_folder = readdir(rep)) != NULL)
{
if (!current_folder->d_name)
continue;
/* Avoid genlist item append for "." and ".." d_name */
if (strcmp(current_folder->d_name, ".") == 0 || strcmp(current_folder->d_name, "..") == 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment