summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 02a40569b..9ebbfc472 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -2866,10 +2866,11 @@ void Fl_X::set_cursor(Fl_Cursor c)
{
NSDictionary *options;
options = [NSDictionary dictionaryWithObjectsAndKeys:
- [NSString stringWithFormat:@" GUI with FLTK %d.%d", FL_MAJOR_VERSION,
- FL_MINOR_VERSION ], @"Copyright",
+ [[[NSAttributedString alloc]
+ initWithString:[NSString stringWithFormat:@" GUI with FLTK %d.%d",
+ FL_MAJOR_VERSION, FL_MINOR_VERSION ]] autorelease], @"Credits",
nil];
- [NSApp orderFrontStandardAboutPanelWithOptions:options];
+ [NSApp orderFrontStandardAboutPanelWithOptions:options];
}
//#include <FL/Fl_PostScript.H>
- (void)printPanel