Changeset 1672650 for keybinding.c
- Timestamp:
- Mar 7, 2010, 10:25:09 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 40d22cf
- Parents:
- 43e8bb2
- git-author:
- Anders Kaseorg <andersk@mit.edu> (02/27/10 20:03:38)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (03/07/10 22:25:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
keybinding.c
r12bc46a r1672650 29 29 if (!ktokens) return(-1); 30 30 if (nktokens > OWL_KEYMAP_MAXSTACK) { 31 atokenize_ free(ktokens, nktokens);31 atokenize_delete(ktokens, nktokens); 32 32 return(-1); 33 33 } … … 36 36 kb->keys[i] = owl_keypress_fromstring(ktokens[i]); 37 37 if (kb->keys[i] == ERR) { 38 atokenize_ free(ktokens, nktokens);38 atokenize_delete(ktokens, nktokens); 39 39 owl_free(kb->keys); 40 40 return(-1); … … 43 43 kb->len = nktokens; 44 44 45 atokenize_ free(ktokens, nktokens);45 atokenize_delete(ktokens, nktokens); 46 46 47 47 if (command) kb->command = owl_strdup(command);
Note: See TracChangeset
for help on using the changeset viewer.