Changeset 9a6cc40


Ignore:
Timestamp:
Jun 29, 2007, 6:56:56 PM (17 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1cf3f8d3, 34509d5
Parents:
9de39410
git-author:
Nelson Elhage <nelhage@mit.edu> (06/29/07 18:50:19)
git-committer:
Nelson Elhage <nelhage@mit.edu> (06/29/07 18:56:56)
Message:
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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    re74c01c r9a6cc40  
    2424  e->winlines=winlines;
    2525  e->wincols=wincols;
    26   e->fillcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxfillcols(&g));
    27   e->wrapcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxwrapcols(&g));
     26  e->fillcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxfillcols(&g));
     27  e->wrapcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxwrapcols(&g));
    2828  e->curswin=win;
    2929  e->style=style;
     
    5151  e->winlines=winlines;
    5252  e->wincols=wincols;
    53   e->fillcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxfillcols(&g));
    54   e->wrapcol=owl_editwin_limit_maxcols(wincols-1, owl_global_get_edit_maxwrapcols(&g));
     53  e->fillcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxfillcols(&g));
     54  e->wrapcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxwrapcols(&g));
    5555}
    5656
Note: See TracChangeset for help on using the changeset viewer.