aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFontPreviewTextField.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFontPreviewTextField.m')
-rw-r--r--Source/SPFontPreviewTextField.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPFontPreviewTextField.m b/Source/SPFontPreviewTextField.m
index 1c4e4b02..90e9f93f 100644
--- a/Source/SPFontPreviewTextField.m
+++ b/Source/SPFontPreviewTextField.m
@@ -35,7 +35,7 @@
_actualFont = [font retain];
- [super setFont:[[NSFontManager sharedFontManager] convertFont:font toSize:11.]];
+ [super setFont:[[NSFontManager sharedFontManager] convertFont:font toSize:11.0f]];
NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithString:[_actualFont displayName]];
NSMutableParagraphStyle *paraStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];