Changeset d07af84 for keybinding.c
- Timestamp:
- Mar 24, 2011, 4:10:28 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 47e0a6a
- Parents:
- 45e2c95
- git-author:
- David Benjamin <davidben@mit.edu> (03/11/11 10:24:36)
- git-committer:
- David Benjamin <davidben@mit.edu> (03/24/11 16:10:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
keybinding.c
r45e2c95 rd07af84 88 88 { 89 89 GString *string; 90 char keypress[64]; /* TODO: don't hard-code a value here. */91 90 int i; 92 91 93 92 string = g_string_new(""); 94 93 for (i = 0; i < len; i++) { 95 owl_keypress_tostring(j[i], 0, keypress, sizeof(keypress)); 96 g_string_append(string, keypress); 94 char *keypress = owl_keypress_tostring(j[i], 0); 95 g_string_append(string, keypress ? keypress : "INVALID"); 96 g_free(keypress); 97 97 if (i < len - 1) g_string_append_c(string, ' '); 98 98 }
Note: See TracChangeset
for help on using the changeset viewer.