Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 7957974

Browse files
committed
[21667] Fix exception thrown when calling revBrowserPrint
1 parent 9e8a93c commit 7957974

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
@@ -1012,7 +1012,7 @@ - (void)com_runrev_livecode_setNativeViewId:(int)new_id
10121012
[info setOrientation:NSPaperOrientationPortrait];
10131013

10141014

1015-
NSPrintOperation * op = [NSPrintOperation printOperationWithView:(NSView *)pView printInfo:info];
1015+
NSPrintOperation * op = [NSPrintOperation printOperationWithView:(NSView *)nativeView printInfo:info];
10161016
[NSPrintOperation setCurrentOperation:op];
10171017

10181018
[op setCanSpawnSeparateThread:YES];

0 commit comments

Comments
 (0)