summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrint.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2021-07-04 02:44:50 (GMT)
committerKevin Walzer <kw@codebykevin.com>2021-07-04 02:44:50 (GMT)
commitae3ccb06f8b9d627d08b16f3850cb9cd4a310791 (patch)
tree0cb672c7542a0c20213f8728c1595d986274103a /macosx/tkMacOSXPrint.c
parent134393d5a203e14b5011ceebe8032f970fad20e6 (diff)
downloadtk-ae3ccb06f8b9d627d08b16f3850cb9cd4a310791.zip
tk-ae3ccb06f8b9d627d08b16f3850cb9cd4a310791.tar.gz
tk-ae3ccb06f8b9d627d08b16f3850cb9cd4a310791.tar.bz2
Minor tweak
Diffstat (limited to 'macosx/tkMacOSXPrint.c')
-rw-r--r--macosx/tkMacOSXPrint.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/macosx/tkMacOSXPrint.c b/macosx/tkMacOSXPrint.c
index 6d34cc1..2993b48 100644
--- a/macosx/tkMacOSXPrint.c
+++ b/macosx/tkMacOSXPrint.c
@@ -33,9 +33,7 @@ int MacPrint_Init(Tcl_Interp * interp);
@interface PrintDelegate: NSObject
- (id) init;
-
--
-(void) printPanelDidEnd: (NSPrintPanel * ) printPanel returnCode: (int) returnCode contextInfo: (void * ) contextInfo;
+ -(void) printPanelDidEnd: (NSPrintPanel * ) printPanel returnCode: (int) returnCode contextInfo: (void * ) contextInfo;
@end
@@ -47,10 +45,11 @@ int MacPrint_Init(Tcl_Interp * interp);
}
- (void) printPanelDidEnd: (NSPrintPanel * ) printPanel returnCode: (int) returnCode contextInfo: (void * ) contextInfo {
-
- /* Pass returnCode to FinishPrint function to determine how to handle. */
+ /*
+ * Pass returnCode to FinishPrint function to determine how to
+ * handle.
+ */
FinishPrint(fileName, returnCode);
-
}
@end
@@ -254,9 +253,7 @@ OSStatus FinishPrint(NSString * file, int buttonValue) {
strcat(cmd, "\"");
system(cmd);
}
-
return status;
-
}
}