From 4cbba7d8bffd073aa691db30aaeec00fbb5f4052 Mon Sep 17 00:00:00 2001 From: David Brown <dbrown@gitlab.riscosopen.org> Date: Fri, 5 Sep 1997 11:59:06 +0000 Subject: [PATCH] Slight change to when scrolling is canceled in hotlist_autoscroll() --- c/Hotlist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/Hotlist b/c/Hotlist index 72aaa36..a31d094 100644 --- a/c/Hotlist +++ b/c/Hotlist @@ -3739,7 +3739,6 @@ static int hotlist_newren_directory_handler(int event_code, ToolboxEvent *event, hotlist_preopen(); hotlist_redraw_now(); hotlist_modified(HL_MODIFIED_ALTER); - //toolbox_hide_object(0, id_block->ancestor_id); break; } @@ -4466,6 +4465,7 @@ _kernel_oserror *hotlist_autoscroll(int window) { mouse_shape = Mouse_Shape_Normal; mouse_set_pointer_shape(Mouse_Shape_Normal); + scrolling = 0; } } } @@ -5185,7 +5185,7 @@ _kernel_oserror * hotlist_add_position(int x, int y, char *description, char *ur winy = coords_y_toworkarea(y, (WimpRedrawWindowBlock *) &state); /* Calculate which item add is over */ - hotlist_get_entry_sizes(&item_height, &item_dir_width, &item_url_width); + RetError(hotlist_get_entry_sizes(&item_height, &item_dir_width, &item_url_width)); targetitem = hotlist_find_item(hotlist_root->data.directory_content, -winy/item_height); top = -winy/item_height; -- GitLab