aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2012-07-03 01:46:54 -0700
committerKoushik Dutta <koushd@gmail.com>2012-07-03 01:47:01 -0700
commitcbbd33086916b090d114e7373b7a7dde31c407d1 (patch)
tree10bd8b1b4a27d7ad8755c5c163ecee18fd83dd3e /ui.c
parentd9115b7888a4423116f819c89f0dc868f2916544 (diff)
downloadbootable_recovery-cbbd33086916b090d114e7373b7a7dde31c407d1.zip
bootable_recovery-cbbd33086916b090d114e7373b7a7dde31c407d1.tar.gz
bootable_recovery-cbbd33086916b090d114e7373b7a7dde31c407d1.tar.bz2
fix reversed logic on ui throttling
Change-Id: Ibbb353937254bbb764424f2521fd61f12b5ecefb
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index b682755..97a8152 100644
--- a/ui.c
+++ b/ui.c
@@ -649,7 +649,7 @@ void ui_print(const char *fmt, ...)
if (ui_nice) {
struct timeval curtime;
gettimeofday(&curtime, NULL);
- if (delta_milliseconds(lastupdate, curtime) > 1000)
+ if (delta_milliseconds(lastupdate, curtime) < 1000)
return;
lastupdate = curtime;
}