From 97d82ec793468626efc7a0cbcb9d582c99359eb5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 20 May 2014 17:45:51 +0100 Subject: Fix if/else with duplicate branches. --- atari/history.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'atari/history.c') diff --git a/atari/history.c b/atari/history.c index 064160133..3d4ef46a3 100644 --- a/atari/history.c +++ b/atari/history.c @@ -103,11 +103,8 @@ static void atari_global_history_mouse_action(struct core_window *cw, int x, int y) { LOG(("x: %d, y: %d\n", x, y)); - if((mouse & BROWSER_MOUSE_HOVER) && global_history_has_selection()){ - global_history_mouse_action(mouse, x, y); - } else { - global_history_mouse_action(mouse, x, y); - } + + global_history_mouse_action(mouse, x, y); } -- cgit v1.2.3