From eddf11ba5c6734beaa691cbc58bc8f6bfc991129 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Fri, 6 Jan 2006 13:27:15 +0000 Subject: [project @ 2006-01-06 13:27:15 by rjw] Improve the dragging of URL files into the hotlist. svn path=/import/netsurf/; revision=1993 --- riscos/gui.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/riscos/gui.c b/riscos/gui.c index 00202dc95..1ce6426af 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -1355,10 +1355,6 @@ void ro_msg_dataload(wimp_message *message) message->data.data_xfer.w)) { data = url_store_find(url); if (data) { - if ((title) && (!data->title)) - data->title = title; - if (!title) - title = strdup(url); ro_gui_tree_get_tree_coordinates(hotlist_tree, message->data.data_xfer.pos.x, message->data.data_xfer.pos.y, @@ -1369,7 +1365,7 @@ void ro_msg_dataload(wimp_message *message) tree_handle_node_changed(hotlist_tree, node, false, true); tree_redraw_area(hotlist_tree, node->box.x - NODE_INSTEP, 0, NODE_INSTEP, 16384); - if (!title) + if ((!title) && (!data->title)) ro_gui_tree_start_edit(hotlist_tree, &node->data, NULL); } } else { -- cgit v1.2.3