diff options
| author | 2015-09-18 16:00:03 -0400 | |
|---|---|---|
| committer | 2015-09-18 16:00:03 -0400 | |
| commit | 459c86dee33698c032cb3ab366e139c71277e3dc (patch) | |
| tree | aad8911320914d490d5e3bf4980dbd0b9a912c9f /src/osd | |
| parent | 6b79dc22758f631d837bc3e9f873f56ade6b0baf (diff) | |
Fix build with Xcode 7 (nw)
Diffstat (limited to 'src/osd')
| -rw-r--r-- | src/osd/modules/debugger/osx/debugview.m | 2 | ||||
| -rw-r--r-- | src/osd/modules/debugger/osx/pointsviewer.m | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/debugger/osx/debugview.m b/src/osd/modules/debugger/osx/debugview.m index 13a9fbc7e04..c5b0a1c5431 100644 --- a/src/osd/modules/debugger/osx/debugview.m +++ b/src/osd/modules/debugger/osx/debugview.m @@ -404,7 +404,7 @@ static void debugwin_view_update(debug_view &view, void *osdprivate) [text addAttribute:NSFontAttributeName value:font range:run]; NSPasteboard *const board = [NSPasteboard generalPasteboard]; [board declareTypes:[NSArray arrayWithObject:NSRTFPboardType] owner:nil]; - [board setData:[text RTFFromRange:run documentAttributes:nil] forType:NSRTFPboardType]; + [board setData:[text RTFFromRange:run documentAttributes:@{}] forType:NSRTFPboardType]; [text deleteCharactersInRange:run]; } diff --git a/src/osd/modules/debugger/osx/pointsviewer.m b/src/osd/modules/debugger/osx/pointsviewer.m index 14bb2f32775..c9301eb2894 100644 --- a/src/osd/modules/debugger/osx/pointsviewer.m +++ b/src/osd/modules/debugger/osx/pointsviewer.m @@ -74,7 +74,7 @@ [breakScroll setBorderType:NSNoBorder]; [breakScroll setDocumentView:breakView]; [breakView release]; - breakTab = [[NSTabViewItem alloc] initWithIdentifier:nil]; + breakTab = [[NSTabViewItem alloc] initWithIdentifier:@""]; [breakTab setView:breakScroll]; [breakScroll release]; @@ -89,7 +89,7 @@ [watchScroll setBorderType:NSNoBorder]; [watchScroll setDocumentView:watchView]; [watchView release]; - watchTab = [[NSTabViewItem alloc] initWithIdentifier:nil]; + watchTab = [[NSTabViewItem alloc] initWithIdentifier:@""]; [watchTab setView:watchScroll]; [watchScroll release]; |
