Build fix.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Jul 2006 18:46:31 +0000 (18:46 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Jul 2006 18:46:31 +0000 (18:46 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/Misc/WebNSDataExtras.m

index 9fcfebc625b73c00a437bda1a07080c6b0eb7d4b..74427cf26985c848fcb45a5c8f5e8d7bb5bc6873 100644 (file)
 #define VCAL_HEADER_LENGTH 15
     
     NSString *MIMEType = [self _webkit_guessedMIMETypeForXML];
-    if ([MIMEType length] != nil) {
+    if (![MIMEType length]) {
         return MIMEType;
     }