[972] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r959 - branches/barnowl_sqlite/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:11:43 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue, 19 Feb 2008 20:03:15 -0500 (EST)

Author: nelhage
Date: 2008-02-19 20:03:12 -0500 (Tue, 19 Feb 2008)
New Revision: 959

Modified:
   branches/barnowl_sqlite/owl/mainwin.c
Log:
Don't bail entirely just because the topmsg is off the start of the list


Modified: branches/barnowl_sqlite/owl/mainwin.c
===================================================================
--- branches/barnowl_sqlite/owl/mainwin.c	2008-02-19 23:13:25 UTC (rev 958)
+++ branches/barnowl_sqlite/owl/mainwin.c	2008-02-20 01:03:12 UTC (rev 959)
@@ -38,10 +38,10 @@
 
   /* if there are no messages or if topmsg is past the end of the messages,
    * just draw a blank screen */
-  if (owl_view_is_empty(v) || !owl_view_iterator_is_valid(topmsg)) {
-    if (owl_view_is_empty(v)) {
+  if (owl_view_is_empty(v)) {
+      /* if (owl_view_is_empty(v)) {
       owl_global_set_topmsg(&g, NULL);
-    }
+      } */
     mw->curtruncated=0;
     owl_view_iterator_invalidate(&(mw->lastdisplayed));
     wnoutrefresh(recwin);


home help back first fref pref prev next nref lref last post