diff options
| author | Manolo Gouy <Manolo> | 2015-02-15 09:07:00 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-02-15 09:07:00 +0000 |
| commit | a5fcc0a91f337faaa4d940bb2ac581868247159c (patch) | |
| tree | 6510c6152b79b5f5c524f8ad25ebe0c1be684204 | |
| parent | 0cc3a5247ab9e43dc922816e9b3f0e3696e02cad (diff) | |
It is preferable to use a complete initializer for a class instance.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index def73ffc9..17b006d86 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3898,7 +3898,7 @@ static void createAppleMenu(void) } if (fl_mac_os_version >= 100400) { // services+hide+quit already in menu in OS 10.3 // Services Menu - services = [[NSMenu alloc] init]; + services = [[NSMenu alloc] initWithTitle:@""]; menuItem = [appleMenu addItemWithTitle:NSLocalizedString([NSString stringWithUTF8String:Fl_Mac_App_Menu::services], nil) action:nil |
