diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-01 10:07:45 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-01 10:07:45 (GMT) |
commit | e9ec63eb161e3fdd44ab6ac9cd17c31747b2cf32 (patch) | |
tree | 3449360f380cbdb2c873b24a6d09a9e42e333fb4 /macosx | |
parent | 198c6f071b0668cdccd52ddf642bea2607f265c7 (diff) | |
download | tk-e9ec63eb161e3fdd44ab6ac9cd17c31747b2cf32.zip tk-e9ec63eb161e3fdd44ab6ac9cd17c31747b2cf32.tar.gz tk-e9ec63eb161e3fdd44ab6ac9cd17c31747b2cf32.tar.bz2 |
various end-of-line spaces
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXDialog.c | 8 | ||||
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 4 |
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( } - - + + /* *---------------------------------------------------------------------- |