From 37f9ab495a9b22799e0591c8434ee9f13f10fb16 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Thu, 25 Mar 2010 10:44:01 +0300 Subject: [PATCH] Type accuracy. Signed-off-by: Andrew Borodin --- src/viewer/actions_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer/actions_cmd.c b/src/viewer/actions_cmd.c index ab85b4ae..091d3569 100644 --- a/src/viewer/actions_cmd.c +++ b/src/viewer/actions_cmd.c @@ -467,12 +467,12 @@ mcview_handle_key (mcview_t * view, int key) if ((command != CK_Ignore_Key) && (mcview_execute_cmd (view, command) == MSG_HANDLED)) return MSG_HANDLED; - if (mcview_check_left_right_keys (view, key)) + if (mcview_check_left_right_keys (view, key) == MSG_HANDLED) return MSG_HANDLED; if (check_movement_keys (key, view->data_area.height + 1, view, mcview_cmk_move_up, mcview_cmk_move_down, - mcview_cmk_moveto_top, mcview_cmk_moveto_bottom)) + mcview_cmk_moveto_top, mcview_cmk_moveto_bottom) == MSG_HANDLED) return MSG_HANDLED; #ifdef MC_ENABLE_DEBUGGING_CODE -- 2.11.4.GIT