aboutsummaryrefslogtreecommitdiffstats
path: root/nandroid.c
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2012-07-02 17:47:50 -0700
committerKoushik Dutta <koushd@gmail.com>2012-07-02 17:47:50 -0700
commitdbf2f25e5c9fe516dfbd02852974b98f304e1f14 (patch)
tree8b49d3da8da116ea0a071c131af7c20457204a20 /nandroid.c
parent02b4b22be588c65194cd4b3d5dfe9171e6e43d2d (diff)
downloadbootable_recovery-dbf2f25e5c9fe516dfbd02852974b98f304e1f14.zip
bootable_recovery-dbf2f25e5c9fe516dfbd02852974b98f304e1f14.tar.gz
bootable_recovery-dbf2f25e5c9fe516dfbd02852974b98f304e1f14.tar.bz2
Rewrite the code that throttles UI updates to be in ui_print itself.
Change-Id: I4fc59efc42991bdcf4fcd09feacfeb6fd984d58c
Diffstat (limited to 'nandroid.c')
-rw-r--r--nandroid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nandroid.c b/nandroid.c
index e68e9a4..508161c 100644
--- a/nandroid.c
+++ b/nandroid.c
@@ -75,7 +75,7 @@ static void yaffs_callback(const char* filename)
if (tmp[strlen(tmp) - 1] == '\n')
tmp[strlen(tmp) - 1] = NULL;
if (strlen(tmp) < 30)
- ui_print("%s", tmp);
+ ui_nice_print("%s", tmp);
yaffs_files_count++;
if (yaffs_files_total != 0)
ui_set_progress((float)yaffs_files_count / (float)yaffs_files_total);