Fix Samsung YH92X/YH820 keypad conditional in text_editor
All the *_PAD values are always #defined. So the change made in
5e91ec1
was applied to all devices instead of only those it was
meant to be applied to.
Change-Id: Iba72316ecf2e3c83132b47484731cd177686b19e
This commit is contained in:
parent
271c30f206
commit
1b4ee1f33a
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
case ACTION_STD_CONTEXT:
|
||||
/* These targets have unintuitive STD_MENU keymaps, so we use context keymap instead;
|
||||
We don't need the "delete line" action, since this can be done via the menu. */
|
||||
#if !(defined(SAMSUNG_YH92X_PAD) || defined(SAMSUNG_YH820_PAD))
|
||||
#if (CONFIG_KEYPAD != SAMSUNG_YH92X_PAD) && (CONFIG_KEYPAD != SAMSUNG_YH820_PAD)
|
||||
if (!line_count) break;
|
||||
rb->strlcpy(copy_buffer, do_action(ACTION_GET, 0, cur_sel),
|
||||
MAX_LINE_LEN);
|
||||
|
|
Loading…
Reference in a new issue