Changeset 8321cb7
- Timestamp:
- Jul 11, 2009, 1:14:35 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:
- 16cfd12a
- Parents:
- 2f21a41
- git-author:
- Karl Ramm <kcr@1ts.org> (06/13/09 15:20:18)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (07/11/09 13:14:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
editwin.c
r2f21a41 r8321cb7 60 60 owl_editwin *owl_editwin_allocate(void) 61 61 { 62 return owl_malloc(sizeof(owl_editwin)); 62 owl_editwin *e; 63 e = owl_malloc(sizeof(owl_editwin)); 64 memset(e, 0, sizeof(*e)); 65 return e; 63 66 } 64 67 … … 854 857 if (owl_editwin_is_char_in(e, WHITESPACE)) { /* we were at the beginning */ 855 858 distance += owl_editwin_backward_word(e); /* previous case */ 859 oe_release_excursion(e, &x); 856 860 return distance + further; 857 861 } else {
Note: See TracChangeset
for help on using the changeset viewer.