Add break; (these things help, now and again)
Add ACTION_NONE case to the deferred action switch (shuts GCC up) svn path=/trunk/netsurf/; revision=3649
This commit is contained in:
parent
ac6946ef83
commit
8afe0caedd
|
@ -1608,17 +1608,19 @@ void browser_window_mouse_action_html(struct browser_window *bw,
|
|||
and must therefore be done after set_status/pointer
|
||||
*/
|
||||
switch (action) {
|
||||
case ACTION_SUBMIT:
|
||||
browser_form_submit(bw,
|
||||
browser_window_find_target(bw, target,
|
||||
(mouse & BROWSER_MOUSE_CLICK_2)),
|
||||
gadget->form, gadget);
|
||||
|
||||
case ACTION_GO:
|
||||
browser_window_go(browser_window_find_target(bw, target,
|
||||
(mouse & BROWSER_MOUSE_CLICK_2)),
|
||||
url, c->url, true);
|
||||
break;
|
||||
case ACTION_SUBMIT:
|
||||
browser_form_submit(bw,
|
||||
browser_window_find_target(bw, target,
|
||||
(mouse & BROWSER_MOUSE_CLICK_2)),
|
||||
gadget->form, gadget);
|
||||
break;
|
||||
case ACTION_GO:
|
||||
browser_window_go(browser_window_find_target(bw, target,
|
||||
(mouse & BROWSER_MOUSE_CLICK_2)),
|
||||
url, c->url, true);
|
||||
break;
|
||||
case ACTION_NONE:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue