diff options
-rw-r--r-- | amiga/filetype.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/filetype.c b/amiga/filetype.c index ceff1c8a4..0a8d9a4a0 100644 --- a/amiga/filetype.c +++ b/amiga/filetype.c @@ -372,6 +372,7 @@ APTR ami_mime_guess_add_datatype(struct DataType *dt, lwc_string **lwc_mimetype) while(*p != '\0') { if(*p == ' ') *p = '-'; + if(*p == '/') *p = '-'; p++; } @@ -634,7 +635,7 @@ void ami_mime_dump(void) while(mimeentry = ami_mime_entry_locate(NULL, AMI_MIME_MIMETYPE, &node)) { - LOG(("%s DT=%s TYPE=%s CMD=%s", + LOG(("%s DT=\"%s\" TYPE=\"%s\" CMD=\"%s\"", mimeentry->mimetype ? lwc_string_data(mimeentry->mimetype) : "", mimeentry->datatype ? lwc_string_data(mimeentry->datatype) : "", mimeentry->filetype ? lwc_string_data(mimeentry->filetype) : "", |