use the cached basename, rather than call it again.

This commit is contained in:
Koushik K. Dutta 2010-03-15 17:05:27 -07:00
parent 4b249cd022
commit 3fb8d302f4

View File

@ -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);