From 299aae255f1ca293e93f15fc7466f3b473546aa8 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 19 May 2014 16:53:45 +0100 Subject: Remove if/else with duplicate branches. --- atari/cookies.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'atari/cookies.c') diff --git a/atari/cookies.c b/atari/cookies.c index 5cae56a3f..0ddade4bb 100644 --- a/atari/cookies.c +++ b/atari/cookies.c @@ -102,12 +102,7 @@ static void atari_cookie_manager_mouse_action(struct core_window *cw, browser_mouse_state mouse, int x, int y) { - if((mouse & BROWSER_MOUSE_HOVER) && cookie_manager_has_selection()){ - cookie_manager_mouse_action(mouse, x, y); - } else { - cookie_manager_mouse_action(mouse, x, y); - } - + cookie_manager_mouse_action(mouse, x, y); } -- cgit v1.2.3