Changeset 6c812238bb0807fdc7b9d1f2feded908ff509286

Show
Ignore:
Timestamp:
11/01/09 17:39:15 (3 weeks ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Parents:
96c3265adb3b452bec79a85030e082fc64d14011
Children:
8df704f223d93cca5a442bf8b462fdaabd069c05
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> / 2009-11-01T17:39:15Z-0500
Message:
Fix _followlast behavior.

I broke _followlast in 26255f0a891e35ce73aef0db49ff403c3d69efeb.

This restores that functionality by checking to see if we should
followlast /before/ processing messages off of the message queue.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • owl.c

    r18fdd5f r6c81223  
    282282{ 
    283283  int newmsgs=0; 
     284  int followlast = owl_global_should_followlast(&g); 
    284285  owl_message *m; 
    285286 
     
    293294  if (newmsgs) { 
    294295    /* follow the last message if we're supposed to */ 
    295     if (owl_global_should_followlast(&g)) 
     296    if (followlast) 
    296297      owl_function_lastmsg_noredisplay(); 
    297298