Fix redundant if/else.

This commit is contained in:
Michael Drake 2014-05-20 17:51:41 +01:00
parent 8b0d969bd6
commit 4bbc541640
1 changed files with 1 additions and 5 deletions

View File

@ -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);
}