Skip to content

Commit a78b7a2

Browse files
Update an enum value changed in OSX 10.9 SDK
NSPortraitOrientation should be replaced with NSPaperOrientationPortrait when talking about paper orientations, apparently.
1 parent 7bab234 commit a78b7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revbrowser/src/osxbrowser.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ - (void)com_runrev_livecode_setNativeViewId:(int)new_id
10211021
[info setVerticalPagination:NSAutoPagination];
10221022
[info setHorizontallyCentered:NO];
10231023
[info setVerticallyCentered:NO];
1024-
[info setOrientation:NSPortraitOrientation];
1024+
[info setOrientation:NSPaperOrientationPortrait];
10251025

10261026

10271027
pView = [[[nativeView mainFrame] frameView] documentView];

0 commit comments

Comments
 (0)