[633] in BarnOwl Developers
[D-O-H] r733 - / trunk/owl
daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:08:08 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Fri, 29 Jun 2007 18:57:05 -0400 (EDT)
Author: nelhage
Date: 2007-06-29 18:56:56 -0400 (Fri, 29 Jun 2007)
New Revision: 733
Modified:
/
trunk/owl/
trunk/owl/editwin.c
Log:
r22510@phanatique: nelhage | 2007-06-29 18:50:19 -0400
Change the width at which we hard-wrap outgoing zephyrs by default so
that zephyrs will fit on screen with the default style. This is the
bug andersk reported; This isn't a complete fix, but it's an
improvement.
Property changes on:
___________________________________________________________________
Name: svk:merge
- 6122c8b4-0e12-0410-9533-8bcd7c66c992:/local/dirty-owl-hacks:24493
6aa88b72-b502-0410-8cb4-a5dd0230fb79:/owl-local:1356
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/barnowl:22016
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h:18636
+ 6122c8b4-0e12-0410-9533-8bcd7c66c992:/local/dirty-owl-hacks:24493
6aa88b72-b502-0410-8cb4-a5dd0230fb79:/owl-local:1356
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/barnowl:22510
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h:18636
Modified: trunk/owl/editwin.c
===================================================================
--- trunk/owl/editwin.c 2007-06-29 22:52:33 UTC (rev 732)
+++ trunk/owl/editwin.c 2007-06-29 22:56:56 UTC (rev 733)
@@ -23,8 +23,8 @@
e->topline=0;
e->winlines=winlines;
e->wincols=wincols;
- e->fillcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxfillcols(&g));
- e->wrapcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxwrapcols(&g));
+ e->fillcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxfillcols(&g));
+ e->wrapcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxwrapcols(&g));
e->curswin=win;
e->style=style;
if ((style!=OWL_EDITWIN_STYLE_MULTILINE) &&
@@ -50,8 +50,8 @@
e->curswin=w;
e->winlines=winlines;
e->wincols=wincols;
- e->fillcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxfillcols(&g));
- e->wrapcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxwrapcols(&g));
+ e->fillcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxfillcols(&g));
+ e->wrapcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxwrapcols(&g));
}
/* echo the character 'ch' for each normal character keystroke,