Changeset 060b3b4 for editwin.c


Ignore:
Timestamp:
Feb 19, 2003, 12:08:41 AM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ced25d1
Parents:
89426ab
Message:
Fixed bug in unsub command that could cause file corruption.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    r601a9e0 r060b3b4  
    4949
    5050WINDOW *owl_editwin_get_curswin(owl_editwin *e) {
    51   return e->curswin;
     51  return(e->curswin);
    5252}
    5353
    5454void owl_editwin_set_history(owl_editwin *e, owl_history *h) {
    55   e->hist = h;
     55  e->hist=h;
    5656}
    5757
    5858owl_history *owl_editwin_get_history(owl_editwin *e) {
    59   return e->hist;
     59  return(e->hist);
    6060}
    6161
     
    6666int owl_editwin_limit_maxcols(int v, int maxv) {
    6767  if (maxv > 5 && v > maxv) {
    68     return maxv;
     68    return(maxv);
    6969  } else {
    70     return v;
     70    return(v);
    7171  }
    7272}
Note: See TracChangeset for help on using the changeset viewer.