diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 5452f4524f..0eb1bb1dcc 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c @@ -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);