Skip to content

Commit

Permalink
fix reversed logic on ui throttling
Browse files Browse the repository at this point in the history
Change-Id: Ibbb353937254bbb764424f2521fd61f12b5ecefb
  • Loading branch information
koush authored and myfluxi committed Jul 3, 2012
1 parent 8842575 commit a7b6537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,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;
}
Expand Down

0 comments on commit a7b6537

Please sign in to comment.