Changeset a45786e for editwin.c


Ignore:
Timestamp:
Jul 7, 2009, 11:02:01 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
a556caa
Parents:
d5cc1c5d
git-author:
Karl Ramm <kcr@1ts.org> (06/03/09 20:48:49)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/07/09 23:02:01)
Message:
editwin: Clean up some dead code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    r50e671c ra45786e  
    135135void owl_editwin_set_locktext(owl_editwin *e, char *text)
    136136{
    137  
    138   int x, y;
    139 
    140   x=e->buffx;
    141   y=e->buffy;
    142137  e->buffx=0;
    143138  e->buffy=0;
     
    145140  owl_editwin_overwrite_char(e, '\0');
    146141  e->lock=strlen(text);
    147   /* if (text[e->lock-1]=='\n') e->lock--; */
    148   /*  e->buffx=x; */
    149   /*  e->buffy=y; */
    150142  _owl_editwin_set_xy_by_index(e, e->lock);
    151143  owl_editwin_redisplay(e, 0);
     
    355347int _owl_editwin_linewrap_word(owl_editwin *e)
    356348{
    357   int x, y;
    358349  int i;
    359350  char *ptr1, *start;
    360351  gunichar c;
    361352
    362   /* saving values */
    363   x = e->buffx;
    364   y = e->buffy;
    365353  start = e->buff + e->lock;
    366354
Note: See TracChangeset for help on using the changeset viewer.