diff --git a/atari/gemtk/guiwin.c b/atari/gemtk/guiwin.c index 9efee9644..ea0f8f917 100644 --- a/atari/gemtk/guiwin.c +++ b/atari/gemtk/guiwin.c @@ -1260,18 +1260,6 @@ short gemtk_wm_exec_msg(GUIWIN *win, short msg_type, short a, short b, short c, short msg[8], retval; EVMULT_OUT event_out; - EVMULT_IN event_in = { - .emi_flags = MU_MESAG | MU_TIMER | MU_KEYBD | MU_BUTTON, - .emi_bclicks = 258, - .emi_bmask = 3, - .emi_bstate = 0, - .emi_m1leave = MO_ENTER, - .emi_m1 = {0,0,0,0}, - .emi_m2leave = 0, - .emi_m2 = {0,0,0,0}, - .emi_tlow = 0, - .emi_thigh = 0 - }; msg[0] = msg_type; msg[1] = gl_apid; diff --git a/atari/gui.c b/atari/gui.c index f0e808bfb..b56e110bc 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -554,7 +554,7 @@ static nserror gui_window_set_url(struct gui_window *w, nsurl *url) int l; if (w == NULL) - return; + return NSERROR_OK; l = strlen(nsurl_access(url))+1;