summaryrefslogtreecommitdiff
path: root/amiga/download.c
diff options
context:
space:
mode:
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,