From: helge Date: Tue, 5 Feb 2008 15:35:15 +0000 (+0000) Subject: use NO, not false X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23ab6d9117af3689d6ac8cf3f3bd4075bb3650e;p=sope use NO, not false git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1598 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 3c4fd7e9..b0aaf027 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,8 @@ +2008-02-05 Helge Hess + + * DynamicElements/_WOComplexHyperlink.m: use NO, not 'false', as + suggested by Wolfgang (v4.7.20) + 2008-02-02 Helge Hess * DynamicElements/_WOComplexHyperlink.m: do not attempt to rewrite diff --git a/sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m b/sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m index c263cbae..2e59c307 100644 --- a/sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m +++ b/sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m @@ -373,13 +373,13 @@ static BOOL debugStaticLinks = NO; - (BOOL)shouldRewriteURLString:(NSString *)_s inContext:(WOContext *)_ctx { // TODO: we need a binding to disable rewriting! - NSRange r; + NSRange r; r.length = [_s length]; /* do not rewrite pure fragment URLs */ if (r.length > 0 && [_s characterAtIndex:0] == '#') - return false; + return NO; /* rewrite all URLs w/o a protocol */ r = [_s rangeOfString:@":"]; diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index d9b1994d..88daed76 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=19 +SUBMINOR_VERSION:=20 # v4.7.11 requires libNGExtensions v4.7.194 # v4.5.234 requires libDOM v4.5.21