use the cached basename, rather than call it again.
This commit is contained in:
parent
4b249cd022
commit
3fb8d302f4
@ -51,7 +51,7 @@ void yaffs_callback(char* filename)
|
||||
{
|
||||
char* justfile = basename(filename);
|
||||
if (strlen(justfile) < 30)
|
||||
ui_print(basename(filename));
|
||||
ui_print(justfile);
|
||||
yaffs_files_count++;
|
||||
if (yaffs_files_total != 0)
|
||||
ui_set_progress((float)yaffs_files_count / (float)yaffs_files_total);
|
||||
|
Loading…
Reference in New Issue
Block a user