Changeset 6c812238bb0807fdc7b9d1f2feded908ff509286
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r18fdd5f
|
r6c81223
|
|
| 282 | 282 | { |
| 283 | 283 | int newmsgs=0; |
| | 284 | int followlast = owl_global_should_followlast(&g); |
| 284 | 285 | owl_message *m; |
| 285 | 286 | |
| … |
… |
|
| 293 | 294 | if (newmsgs) { |
| 294 | 295 | /* follow the last message if we're supposed to */ |
| 295 | | if (owl_global_should_followlast(&g)) |
| | 296 | if (followlast) |
| 296 | 297 | owl_function_lastmsg_noredisplay(); |
| 297 | 298 | |