summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-05 07:26:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-05 07:26:54 (GMT)
commitd23f6acf9a16e4b728177590faafd4a30fda869f (patch)
tree77ed1b51f268b6fb6013834c2ae0032ecb75fd03 /macosx
parentb2121aa67639f868f6f62a40a5ca0a61c4ef69e4 (diff)
downloadtk-d23f6acf9a16e4b728177590faafd4a30fda869f.zip
tk-d23f6acf9a16e4b728177590faafd4a30fda869f.tar.gz
tk-d23f6acf9a16e4b728177590faafd4a30fda869f.tar.bz2
eliminate end-of-line spacing
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXPrint.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/macosx/tkMacOSXPrint.c b/macosx/tkMacOSXPrint.c
index 731d1b5..5dca510 100644
--- a/macosx/tkMacOSXPrint.c
+++ b/macosx/tkMacOSXPrint.c
@@ -43,9 +43,9 @@ 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);
}
@@ -140,7 +140,7 @@ OSStatus FinishPrint(NSString * file, int buttonValue) {
CFStringRef mimeType = NULL;
/*
- * If value passed here is NSCancelButton, return noErr;
+ * If value passed here is NSCancelButton, return noErr;
* otherwise printing will occur regardless of value.
*/
if (buttonValue == NSModalResponseCancel) {
@@ -217,8 +217,8 @@ OSStatus FinishPrint(NSString * file, int buttonValue) {
NSString * finalPath = (NSString * ) savePath;
NSString * pathExtension = [finalPath pathExtension];
- /*
- * Is the target file a PDF? If so, copy print file
+ /*
+ * Is the target file a PDF? If so, copy print file
* to output location.
*/
if ([pathExtension isEqualToString: @ "pdf"]) {
@@ -229,9 +229,9 @@ OSStatus FinishPrint(NSString * file, int buttonValue) {
}
}
- /* Is the target file PostScript? If so, run print file
- * through CUPS filter to convert back to PostScript.
- * Using strcat to build up system command is ugly, but
+ /* Is the target file PostScript? If so, run print file
+ * through CUPS filter to convert back to PostScript.
+ * Using strcat to build up system command is ugly, but
* it is simpler than NSTask and it works.
*/
@@ -271,7 +271,7 @@ OSStatus FinishPrint(NSString * file, int buttonValue) {
}
/*
- * If destination is not printer, file or preview,
+ * If destination is not printer, file or preview,
* we do not support it. Display alert.
*/