diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-01-05 22:55:34 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-01-05 22:55:34 +0000 |
commit | b2fff176df8236a2f5957e579a2905833ecc3a6e (patch) | |
tree | f37425aedcf9082c4c531a1a09b31c74939072b2 | |
parent | f97c1fc605caf49b73a11f960dc9a6c869e97abe (diff) | |
download | netsurf-b2fff176df8236a2f5957e579a2905833ecc3a6e.tar.gz netsurf-b2fff176df8236a2f5957e579a2905833ecc3a6e.tar.bz2 |
This shouldn't be UTF-8
-rw-r--r-- | amiga/context_menu.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 2ad2b89d9..1aa8f7ac2 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -742,17 +742,11 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved strlcpy(fname,filereq->fr_Drawer,1024); AddPart(fname,filereq->fr_File,1024); - if(utf8_from_local_encoding(fname,0,&utf8_fn) != UTF8_CONVERT_OK) - { - warn_user("NoMemory",""); - break; - } - browser_window_drop_file_at_point( file_input->bw, file_input->x, file_input->y, - utf8_fn); + fname); } break; |