diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-20 17:45:51 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-20 17:45:51 +0100 |
commit | 97d82ec793468626efc7a0cbcb9d582c99359eb5 (patch) | |
tree | 33ecf0b187e9aae98dd518f56c9b30d11fc95586 /atari/history.c | |
parent | 527003629f1f086b75c50654bef60106235e40e9 (diff) | |
download | netsurf-97d82ec793468626efc7a0cbcb9d582c99359eb5.tar.gz netsurf-97d82ec793468626efc7a0cbcb9d582c99359eb5.tar.bz2 |
Fix if/else with duplicate branches.
Diffstat (limited to 'atari/history.c')
-rw-r--r-- | atari/history.c | 7 |
1 files changed, 2 insertions, 5 deletions
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); } |