mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
fix warnings
This commit is contained in:
parent
e3cbd8aec6
commit
a5bd3d112c
@ -1833,7 +1833,7 @@ void ami_handle_msg(void)
|
||||
struct DiskObject *dobj;
|
||||
struct bitmap *bm;
|
||||
|
||||
bm = urldb_get_thumbnail(nsurl_access(hlcache_handle_get_url(gwin->bw->current_content)));
|
||||
bm = urldb_get_thumbnail(hlcache_handle_get_url(gwin->bw->current_content));
|
||||
if(!bm) bm = content_get_bitmap(gwin->bw->current_content);
|
||||
gwin->dobj = amiga_icon_from_bitmap(bm);
|
||||
amiga_icon_superimpose_favicon_internal(gwin->bw->window->favicon,
|
||||
@ -4111,7 +4111,7 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg
|
||||
/* return the text box at posn x,y in window coordinates
|
||||
x,y are updated to be document co-ordinates */
|
||||
|
||||
bool *ami_text_box_at_point(struct gui_window_2 *gwin, ULONG *x, ULONG *y)
|
||||
bool ami_text_box_at_point(struct gui_window_2 *gwin, ULONG *x, ULONG *y)
|
||||
{
|
||||
struct IBox *bbox;
|
||||
ULONG xs,ys,width,height;
|
||||
@ -4130,7 +4130,7 @@ bool *ami_text_box_at_point(struct gui_window_2 *gwin, ULONG *x, ULONG *y)
|
||||
width=bbox->Width;
|
||||
height=bbox->Height;
|
||||
|
||||
browser_window_get_contextual_content(gwin->bw, x, y, &data);
|
||||
browser_window_get_contextual_content(gwin->bw, *x, *y, &data);
|
||||
|
||||
if (data.form_features == CTX_FORM_TEXT)
|
||||
return true;
|
||||
|
@ -143,7 +143,7 @@ void ami_do_redraw_limits(struct gui_window *g, struct browser_window *bw,
|
||||
int x0, int y0, int x1, int y1);
|
||||
STRPTR ami_locale_langs(void);
|
||||
int ami_key_to_nskey(ULONG keycode, struct InputEvent *ie);
|
||||
bool *ami_text_box_at_point(struct gui_window_2 *gwin, ULONG *x, ULONG *y);
|
||||
bool ami_text_box_at_point(struct gui_window_2 *gwin, ULONG *x, ULONG *y);
|
||||
BOOL ami_gadget_hit(Object *obj, int x, int y);
|
||||
void ami_gui_history(struct gui_window_2 *gwin, bool back);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user