- Timestamp:
- Oct 19, 2009, 10:21:04 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 26255f0
- Parents:
- 12e291a
- git-author:
- Alejandro R. Sedeño <asedeno@mit.edu> (10/13/09 03:18:13)
- git-committer:
- Alejandro R. Sedeño <asedeno@mit.edu> (10/19/09 22:21:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
rdbf94e9 r0697f09 470 470 owl_popwin *pw; 471 471 int argcsave, followlast; 472 int newmsgs , nexttimediff;472 int newmsgs; 473 473 const char *const *argvsave; 474 474 char *perlout, *perlerr; 475 475 const owl_style *s; 476 time_t nexttime, now;477 struct tm *today;478 476 const char *dir; 479 477 owl_message *m; … … 621 619 owl_context_set_interactive(owl_global_get_context(&g)); 622 620 623 nexttimediff=10;624 nexttime=time(NULL);625 626 621 owl_select_add_timer(180, 180, owl_zephyr_buddycheck_timer, NULL, NULL); 627 622 … … 643 638 644 639 followlast=owl_global_should_followlast(&g); 645 646 /* little hack */647 now=time(NULL);648 today=localtime(&now);649 if (today->tm_mon==9 && today->tm_mday==31 && owl_global_get_runtime(&g)<600) {650 if (time(NULL)>nexttime) {651 if (nexttimediff==1) {652 nexttimediff=10;653 } else {654 nexttimediff=1;655 }656 nexttime+=nexttimediff;657 owl_hack_animate();658 }659 }660 640 661 641 /* Grab incoming messages. */
Note: See TracChangeset
for help on using the changeset viewer.