Revision: 14516
http://sourceforge.net/p/skim-app/code/14516
Author: hofman
Date: 2024-10-04 16:57:30 +0000 (Fri, 04 Oct 2024)
Log Message:
-----------
make a function inline
Modified Paths:
--------------
trunk/SKPresentationView.m
Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m 2024-10-04 16:31:31 UTC (rev 14515)
+++ trunk/SKPresentationView.m 2024-10-04 16:57:30 UTC (rev 14516)
@@ -182,7 +182,7 @@
return NSInsetRect(bounds, 0.5 * (NSWidth(bounds) - scale *
NSWidth(pageRect)), 0.5 * (NSHeight(bounds) - scale * NSHeight(pageRect)));
}
-static BOOL equalStrings(NSString *s1, NSString *s2) {
+static inline BOOL equalStrings(NSString *s1, NSString *s2) {
return s1 == nil || s2 == nil || [s1 isEqualToString:s2];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit