summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-01 10:07:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-01 10:07:45 (GMT)
commit491465f7f1042b9a347f579cc49f5ba49e9377dc (patch)
tree3449360f380cbdb2c873b24a6d09a9e42e333fb4 /macosx
parentcba0849390d99fbc8c07d7df1d35abb4dfca9c43 (diff)
downloadtk-491465f7f1042b9a347f579cc49f5ba49e9377dc.zip
tk-491465f7f1042b9a347f579cc49f5ba49e9377dc.tar.gz
tk-491465f7f1042b9a347f579cc49f5ba49e9377dc.tar.bz2
various end-of-line spaces
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDialog.c8
-rw-r--r--macosx/tkMacOSXScrlbr.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 990cfb1..cd289d2 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -517,7 +517,7 @@ Tk_GetOpenFileObjCmd(
}
}
}
-
+
/*Accessory view for file filtering. Adapted from http://codefromabove.com/2015/01/nssavepanel-adding-an-accessory-view/ */
NSView *accessoryView = [[NSView alloc] initWithFrame:NSMakeRect(0.0, 0.0, 200, 32.0)];
NSTextField *label = [[NSTextField alloc] initWithFrame:NSMakeRect(0, 0, 60, 22)];
@@ -526,15 +526,15 @@ Tk_GetOpenFileObjCmd(
[label setBordered:NO];
[label setBezeled:NO];
[label setDrawsBackground:NO];
-
+
NSPopUpButton *popupButton = [[NSPopUpButton alloc] initWithFrame:NSMakeRect(50.0, 2, 140, 22.0) pullsDown:NO];
[popupButton addItemsWithTitles:openFileTypes];
[popupButton setAction:@selector(selectFormat:)];
-
+
[accessoryView addSubview:label];
[accessoryView addSubview:popupButton];
[openpanel setAllowedFileTypes:openFileTypes];
-
+
[openpanel setAccessoryView:accessoryView];
if (cmdObj) {
callbackInfo = ckalloc(sizeof(FilePanelCallbackInfo));
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c
index 6253fff..49ba999 100644
--- a/macosx/tkMacOSXScrlbr.c
+++ b/macosx/tkMacOSXScrlbr.c
@@ -285,8 +285,8 @@ TkpComputeScrollbarGeometry(
}
-
-
+
+
/*
*----------------------------------------------------------------------