Revision: 28810
          http://sourceforge.net/p/bibdesk/svn/28810
Author:   hofman
Date:     2024-02-23 23:25:53 +0000 (Fri, 23 Feb 2024)
Log Message:
-----------
get length from self rather than null variable

Modified Paths:
--------------
    trunk/bibdesk/NSString_BDSKExtensions.m

Modified: trunk/bibdesk/NSString_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSString_BDSKExtensions.m     2024-02-23 17:17:53 UTC (rev 
28809)
+++ trunk/bibdesk/NSString_BDSKExtensions.m     2024-02-23 23:25:53 UTC (rev 
28810)
@@ -1440,7 +1440,7 @@
     CFMutableStringRef theString = NULL;
     
     CFStringInlineBuffer inlineBuffer;
-    CFIndex length = CFStringGetLength(theString);
+    CFIndex length = [self length];
     
     // use the current mutable string with the inline buffer, but make a new 
mutable copy if needed
     CFStringInitInlineBuffer((__bridge CFStringRef)self, &inlineBuffer, 
CFRangeMake(0, length));

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to