Revision: 13933
http://sourceforge.net/p/skim-app/code/13933
Author: hofman
Date: 2023-12-19 17:04:31 +0000 (Tue, 19 Dec 2023)
Log Message:
-----------
use modern text alinment enum values when using 10.11+ SDK
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2023-12-19 16:03:27 UTC
(rev 13932)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2023-12-19 17:04:31 UTC
(rev 13933)
@@ -158,7 +158,7 @@
}
}
-#if defined(PDFKIT_PLATFORM_IOS) || (defined(MAC_OS_X_VERSION_10_12) &&
MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_12)
+#if defined(PDFKIT_PLATFORM_IOS) || (defined(MAC_OS_X_VERSION_10_11) &&
MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_11)
static inline NSInteger SKNAlignmentFromTextAlignment(NSTextAlignment
alignment) {
return alignment == NSTextAlignmentCenter ? 2 : alignment ==
NSTextAlignmentRight ? 1 : 0;
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