summaryrefslogtreecommitdiff
path: root/amiga/download.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-29 17:40:36 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-29 17:40:36 +0000
commit25e9b79f5c944837192186c733feb4a3a311a051 (patch)
tree27664e6ba318748d7bdca4d631f158335387be06 /amiga/download.c
parent802f58f10d1d733093b0c285a2ee8bfdf68de414 (diff)
downloadnetsurf-25e9b79f5c944837192186c733feb4a3a311a051.tar.gz
netsurf-25e9b79f5c944837192186c733feb4a3a311a051.tar.bz2
Allow getting the tree's drag property. This ensures we can see whether the current
drag is something we might need to display an icon for. svn path=/trunk/netsurf/; revision=10917
Diffstat (limited to 'amiga/download.c')
-rw-r--r--amiga/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/download.c b/amiga/download.c
index 15a0286d5..370fbbc42 100644
--- a/amiga/download.c
+++ b/amiga/download.c
@@ -512,7 +512,7 @@ void ami_drag_icon_show(struct Window *win, char *type)
ami_update_pointer(win, GUI_POINTER_DEFAULT);
}
- if(type == "drawer") deftype = WBDRAWER;
+ if(!strcmp(type, "drawer")) deftype = WBDRAWER;
dobj = GetIconTags(NULL, ICONGETA_GetDefaultName, type,
ICONGETA_GetDefaultType, deftype,