diff options
author | wolfsuit <wolfsuit> | 2004-02-16 00:19:41 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2004-02-16 00:19:41 (GMT) |
commit | 0dc2e89b80549a1b01b88aa601b97a9430759b10 (patch) | |
tree | 367e94ab4e64d32b901564923e10633b826fd06c /macosx/tkMacOSXNotify.c | |
parent | caf639e27f3647e678590382c2dd0739dba625a5 (diff) | |
download | tk-0dc2e89b80549a1b01b88aa601b97a9430759b10.zip tk-0dc2e89b80549a1b01b88aa601b97a9430759b10.tar.gz tk-0dc2e89b80549a1b01b88aa601b97a9430759b10.tar.bz2 |
Fix a bug in tk_getOpenFile - files with no types are rejected when they would
pass in Mac OS Classic.
Add the tkMacOSXCarbonEvents.c - just a skeleton right now.
A bunch of formatting nits fixed.
Diffstat (limited to 'macosx/tkMacOSXNotify.c')
-rw-r--r-- | macosx/tkMacOSXNotify.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c index 4768c94..7ab74e0 100644 --- a/macosx/tkMacOSXNotify.c +++ b/macosx/tkMacOSXNotify.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.6 2004/01/13 02:06:01 davygrvy Exp $ + * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.7 2004/02/16 00:19:42 wolfsuit Exp $ */ #include "tclInt.h" @@ -1155,11 +1155,11 @@ TkMacOSXCreateFakeEvent () EventTime eTime; EventRef eventRef; EventAttributes flags; - eClass=kEventClassWish; + eClass = kEventClassWish; eKind = 0xffff; - eTime =GetLastUserEventTime() + 0.001; - flags=kEventAttributeUserEvent; - if (CreateEvent(NULL,eClass,eKind,eTime,flags,&eventRef)!=noErr) { + eTime = GetLastUserEventTime() + 0.001; + flags = kEventAttributeUserEvent; + if (CreateEvent(NULL,eClass,eKind,eTime,flags,&eventRef) != noErr) { fprintf(stderr,"CreateEvent failed\n"); return NULL; } |