summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-05-20 17:51:41 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-05-20 17:51:41 +0100
commit4bbc541640f245c6ca8d95296ea2cea6817867fa (patch)
tree7967fafffda6b0e5e28061bbf019370778d6eb74 /atari
parent8b0d969bd6e4ff5544bdf83d52e50bff55175324 (diff)
downloadnetsurf-4bbc541640f245c6ca8d95296ea2cea6817867fa.tar.gz
netsurf-4bbc541640f245c6ca8d95296ea2cea6817867fa.tar.bz2
Fix redundant if/else.
Diffstat (limited to 'atari')
-rw-r--r--atari/hotlist.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/atari/hotlist.c b/atari/hotlist.c
index bd1e0f2cd..58c7bee47 100644
--- a/atari/hotlist.c
+++ b/atari/hotlist.c
@@ -107,12 +107,8 @@ static void atari_hotlist_mouse_action(struct core_window *cw,
int x, int y)
{
LOG(("x: %d, y: %d\n", x, y));
- if((mouse & BROWSER_MOUSE_HOVER) && hotlist_has_selection()){
- hotlist_mouse_action(mouse, x, y);
- } else {
- hotlist_mouse_action(mouse, x, y);
- }
+ hotlist_mouse_action(mouse, x, y);
}