diff options
Diffstat (limited to 'amiga/history_local.c')
-rwxr-xr-x | amiga/history_local.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/amiga/history_local.c b/amiga/history_local.c index 39456496c..20d54386f 100755 --- a/amiga/history_local.c +++ b/amiga/history_local.c @@ -190,7 +190,7 @@ static bool ami_history_click(struct history_window *hw, uint16 code) { int x, y; struct IBox *bbox; - ULONG width,height,xs,ys; + ULONG xs, ys; if(ami_gui_get_space_box(hw->objects[GID_BROWSER], &bbox) != NSERROR_OK) { warn_user("NoMemory", ""); @@ -202,9 +202,6 @@ static bool ami_history_click(struct history_window *hw, uint16 code) GetAttr(SCROLLER_Top,hw->objects[OID_VSCROLL],(ULONG *)&ys); y = hw->win->MouseY - bbox->Top + ys; - width=bbox->Width; - height=bbox->Height; - ami_gui_free_space_box(bbox); switch(code) |