Revision: 13314
          http://sourceforge.net/p/skim-app/code/13314
Author:   hofman
Date:     2023-02-26 17:28:16 +0000 (Sun, 26 Feb 2023)
Log Message:
-----------
use onStateValue for button widget

Modified Paths:
--------------
    trunk/PDFAnnotationButtonWidget_SKExtensions.m

Modified: trunk/PDFAnnotationButtonWidget_SKExtensions.m
===================================================================
--- trunk/PDFAnnotationButtonWidget_SKExtensions.m      2023-02-26 17:19:05 UTC 
(rev 13313)
+++ trunk/PDFAnnotationButtonWidget_SKExtensions.m      2023-02-26 17:28:16 UTC 
(rev 13314)
@@ -51,7 +51,7 @@
     [fdfString appendFDFName:"/T"];
     [fdfString appendFormat:@"(%@)", [[[self fieldName] ?: @"" 
lossyStringUsingEncoding:NSISOLatin1StringEncoding] 
stringByEscapingParenthesis]];
     [fdfString appendFDFName:"/V"];
-    [fdfString appendFormat:@"/%@", [self state] == NSOnState ? @"On" : 
@"Off"];
+    [fdfString appendFormat:@"/%@", [self state] == NSOnState ? [self 
onStateValue] : @"Off"];
     return fdfString;
 }
 

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

Reply via email to