Fix if/else with duplicate branches.

This commit is contained in:
Michael Drake 2014-05-20 17:45:51 +01:00
parent 527003629f
commit 97d82ec793
1 changed files with 2 additions and 5 deletions

View File

@ -103,11 +103,8 @@ static void atari_global_history_mouse_action(struct core_window *cw,
int x, int y) int x, int y)
{ {
LOG(("x: %d, y: %d\n", x, 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); global_history_mouse_action(mouse, x, y);
} else {
global_history_mouse_action(mouse, x, y);
}
} }