Changeset 1672650 for keybinding.c


Ignore:
Timestamp:
Mar 7, 2010, 10:25:09 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, 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)
Message:
Rename atokenize_free to atokenize_delete.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • keybinding.c

    r12bc46a r1672650  
    2929  if (!ktokens) return(-1);
    3030  if (nktokens > OWL_KEYMAP_MAXSTACK) {
    31     atokenize_free(ktokens, nktokens);
     31    atokenize_delete(ktokens, nktokens);
    3232    return(-1);
    3333  }
     
    3636    kb->keys[i] = owl_keypress_fromstring(ktokens[i]);
    3737    if (kb->keys[i] == ERR) {
    38       atokenize_free(ktokens, nktokens);
     38      atokenize_delete(ktokens, nktokens);
    3939      owl_free(kb->keys);
    4040      return(-1);
     
    4343  kb->len = nktokens;
    4444
    45   atokenize_free(ktokens, nktokens);
     45  atokenize_delete(ktokens, nktokens);
    4646
    4747  if (command) kb->command = owl_strdup(command);
Note: See TracChangeset for help on using the changeset viewer.