Changeset 5445:f41ba27be46f for curs_lib.c
- Timestamp:
- 2008-07-02 09:08:07 (5 months ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
curs_lib.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
curs_lib.c
r5441 r5445 378 378 /* if timestamp is 0 no time-based suppression is done */ 379 379 if (TimeInc) 380 progress->timestamp = ( unsigned int) (tv.tv_sec * 1000)380 progress->timestamp = ((unsigned int) tv.tv_sec * 1000) 381 381 + (unsigned int) (tv.tv_usec / 1000); 382 382 mutt_progress_update (progress, 0, 0); … … 402 402 /* skip refresh if not enough time has passed */ 403 403 if (update && progress->timestamp && !gettimeofday (&tv, NULL)) { 404 now = ( unsigned int) (tv.tv_sec * 1000)404 now = ((unsigned int) tv.tv_sec * 1000) 405 405 + (unsigned int) (tv.tv_usec / 1000); 406 406 if (now && now - progress->timestamp < TimeInc)
