Revision: 15068
http://sourceforge.net/p/skim-app/code/15068
Author: hofman
Date: 2025-04-01 09:05:47 +0000 (Tue, 01 Apr 2025)
Log Message:
-----------
modify format instead of type cast
Modified Paths:
--------------
trunk/SKFontWell.m
Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m 2025-04-01 09:00:29 UTC (rev 15067)
+++ trunk/SKFontWell.m 2025-04-01 09:05:47 UTC (rev 15068)
@@ -206,7 +206,7 @@
- (void)fontChanged {
if ([self isActive])
[[NSFontManager sharedFontManager] setSelectedFont:[self font]
isMultiple:NO];
- [self setTitle:[NSString stringWithFormat:@"%@ %li", [[self font]
displayName], (long)[self fontSize]]];
+ [self setTitle:[NSString stringWithFormat:@"%@ %.0f", [[self font]
displayName], [self fontSize]]];
[self setNeedsDisplay:YES];
NSAccessibilityPostNotification([self cell],
NSAccessibilityValueChangedNotification);
}
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