[974] in BarnOwl Developers

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

[D-O-H] r961 - branches/barnowl_unicode/owl

daemon@ATHENA.MIT.EDU (asedeno@MIT.EDU)
Thu Oct 29 18:11:45 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: asedeno@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue, 19 Feb 2008 21:52:10 -0500 (EST)

Author: asedeno
Date: 2008-02-19 21:52:10 -0500 (Tue, 19 Feb 2008)
New Revision: 961

Modified:
   branches/barnowl_unicode/owl/editwin.c
Log:
Fixing an obscure wrapping bug that nelhage and I tracked down.

Modified: branches/barnowl_unicode/owl/editwin.c
===================================================================
--- branches/barnowl_unicode/owl/editwin.c	2008-02-20 01:48:44 UTC (rev 960)
+++ branches/barnowl_unicode/owl/editwin.c	2008-02-20 02:52:10 UTC (rev 961)
@@ -1046,6 +1046,7 @@
       _owl_editwin_linewrap_word(e);
       /* we may have added a character. */
       if (i < save) save += e->bufflen - len;
+      _owl_editwin_set_xy_by_index(e, i);
     }
 
     /* did we hit the end of a line too soon? */


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