Changeset a45786e
- Timestamp:
- Jul 7, 2009, 11:02:01 PM (15 years ago)
- Branches:
- master, release-1.10, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
editwin.c
r50e671c ra45786e 135 135 void owl_editwin_set_locktext(owl_editwin *e, char *text) 136 136 { 137 138 int x, y;139 140 x=e->buffx;141 y=e->buffy;142 137 e->buffx=0; 143 138 e->buffy=0; … … 145 140 owl_editwin_overwrite_char(e, '\0'); 146 141 e->lock=strlen(text); 147 /* if (text[e->lock-1]=='\n') e->lock--; */148 /* e->buffx=x; */149 /* e->buffy=y; */150 142 _owl_editwin_set_xy_by_index(e, e->lock); 151 143 owl_editwin_redisplay(e, 0); … … 355 347 int _owl_editwin_linewrap_word(owl_editwin *e) 356 348 { 357 int x, y;358 349 int i; 359 350 char *ptr1, *start; 360 351 gunichar c; 361 352 362 /* saving values */363 x = e->buffx;364 y = e->buffy;365 353 start = e->buff + e->lock; 366 354
Note: See TracChangeset
for help on using the changeset viewer.