summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-05-09 19:30:44 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-05-09 19:30:44 +0000
commitc4efa5593b17b41ca45e311823ad992787ccf716 (patch)
treebe1e6c7b1c82b3a3fa65b7a1de5f7884e7122aed
parent4f2e8aa2e59c16364a3aeee634cb60855e7c6ffb (diff)
downloadnetsurf-c4efa5593b17b41ca45e311823ad992787ccf716.tar.gz
netsurf-c4efa5593b17b41ca45e311823ad992787ccf716.tar.bz2
Don't say "registering" when we actually skipped the type...
svn path=/trunk/netsurf/; revision=12355
-rw-r--r--cocoa/apple_image.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/apple_image.m b/cocoa/apple_image.m
index 9d69f3310..23830afeb 100644
--- a/cocoa/apple_image.m
+++ b/cocoa/apple_image.m
@@ -86,6 +86,7 @@ static nserror register_for_type( NSString *mime )
if (strcmp(type, "image/gif") == 0)
return NSERROR_OK;
#endif
+ NSLog( @"registering mime type %@", mime );
lwc_error lerror = lwc_intern_string( type, strlen( type ), &apple_image_mime_types[types_count] );
if (lerror != lwc_error_ok) return NSERROR_NOMEM;
@@ -114,7 +115,6 @@ nserror apple_image_init(void)
}
for (NSString *mime in mimeTypes) {
- NSLog( @"registering mime type %@", mime );
nserror error = register_for_type( mime );
if (error != NSERROR_OK) {
apple_image_fini();