+2014-06-22 Benno Schulenberg <bensberg@justemail.net>
+ * src/browser.c (parse_browser_input), src/help.c (parse_help_input):
+ Remove two pointless calls of get_shortcut(), and adjust the comments.
+
2014-06-22 Mark Majeres <mark@engine12.com>
* src/text.c (do_redo): When redoing a line join at the tail
of the file, make sure openfile->filebot is updated.
width = longest;
}
-/* Determine the shortcut key corresponding to the values of kbinput
- * (the key itself) and meta_key (whether the key is a meta sequence).
- * Also convert certain non-shortcut keys into their corresponding
- * shortcut keys. */
+/* Convert certain non-shortcut keys into their corresponding shortcut
+ * sequences, for compatibility with Pico. */
void parse_browser_input(int *kbinput, bool *meta_key)
{
- get_shortcut(MBROWSER, kbinput, meta_key);
-
- /* Pico compatibility. */
if (!*meta_key) {
switch (*kbinput) {
case ' ':
assert(strlen(help_text) <= allocsize + 1);
}
-/* Determine the shortcut key corresponding to the values of kbinput
- * (the key itself) and meta_key (whether the key is a meta sequence).
- * Also convert certain non-shortcut keys into their corresponding
- * shortcut keys. */
+/* Convert certain non-shortcut keys into their corresponding shortcut
+ * sequences. */
void parse_help_input(int *kbinput, bool *meta_key)
{
- get_shortcut(MHELP, kbinput, meta_key);
-
if (!*meta_key) {
switch (*kbinput) {
/* For consistency with the file browser. */