Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macglue.c @ 3052:fd50986f35e5 legacy-trunk
Removed unused variables
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 31 Aug 1995 13:57:40 +0000 |
| parents | 2fe9d0371ecd |
| children | 5e101ead1e69 |
line wrap: on
line diff
--- a/Mac/Python/macglue.c Thu Aug 31 13:57:06 1995 +0000 +++ b/Mac/Python/macglue.c Thu Aug 31 13:57:40 1995 +0000 @@ -308,7 +308,6 @@ PyMac_HandleEvent(evp) EventRecord *evp; { - WindowPtr wp; #ifdef __MWERKS__ /* If SIOUX wants it we're done */ @@ -316,6 +315,8 @@ #else /* Other compilers are just unlucky: we only weed out clicks in other applications */ if ( evp->what == mouseDown ) { + WindowPtr wp; + if ( FindWindow(evp->where, &wp) == inSysWindow ) SystemClick(evp, wp); } @@ -436,7 +437,6 @@ FSSpec fss; FInfo finfo; short oldrh, filerh; - int ok; Handle h; OSErr err; PyObject *m, *co;
