- Timestamp:
- Jul 11, 2009, 1:14:34 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:
- ebf0128
- Parents:
- 5b5f3e6
- git-author:
- Karl Ramm <kcr@1ts.org> (06/11/09 10:51:20)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (07/11/09 13:14:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
editwin.c
r5b5f3e6 r7d25006 979 979 void owl_editwin_process_char(owl_editwin *e, owl_input j) 980 980 { 981 #if 0982 int i, ret, len;983 #endif984 981 char tmp[7]; 985 982 … … 1002 999 g_unichar_to_utf8(j.uch, tmp); 1003 1000 owl_editwin_replace(e, 0, tmp); 1004 1005 #if 0 /* XXX */1006 /* If we're going to insert at the last column do word wrapping, unless it's a \n */1007 if ((e->buffx + 1 == e->wrapcol) && (j.uch != '\n')) {1008 ret = _owl_editwin_linewrap_word(e);1009 if (ret == -1) {1010 /* we couldn't wrap, insert a hard newline instead */1011 owl_editwin_replace(e, 0, "\n");1012 }1013 }1014 #endif1015 1001 } 1016 1002 }
Note: See TracChangeset
for help on using the changeset viewer.