file-browser: fix copying launchers

This commit is contained in:
K. Lange 2018-11-21 15:28:43 +09:00
parent 7bc98fab4d
commit 2de7c54b6b

View File

@ -392,7 +392,7 @@ static void load_directory(const char * path) {
sprintf(f->name, eq); sprintf(f->name, eq);
} }
} }
sprintf(f->filename, "%s", tmp); sprintf(f->filename, "%s", ent->d_name);
f->type = 2; f->type = 2;
} else { } else {
/* Handle various file types */ /* Handle various file types */