Mercurial > cpython-lru_cache-weakref
comparison Mac/Python/macgetpath.c @ 12446:e367ad3ea59a legacy-trunk
Made the GUSI options work again with GUSI 2.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Fri, 21 Apr 2000 23:53:37 +0000 |
| parents | 51c0c3b6d919 |
| children | db963a615bc9 |
comparison
equal
deleted
inserted
replaced
| 12445:9c4a4e6bd555 | 12446:e367ad3ea59a |
|---|---|
| 187 | 187 |
| 188 | 188 |
| 189 /* | 189 /* |
| 190 ** Open/create the Python Preferences file, return the handle | 190 ** Open/create the Python Preferences file, return the handle |
| 191 */ | 191 */ |
| 192 static short | 192 short |
| 193 PyMac_OpenPrefFile() | 193 PyMac_OpenPrefFile() |
| 194 { | 194 { |
| 195 AliasHandle handle; | 195 AliasHandle handle; |
| 196 FSSpec dirspec; | 196 FSSpec dirspec; |
| 197 short prefrh; | 197 short prefrh; |
| 465 } | 465 } |
| 466 if ( h ) GUSILoadConfiguration(h); | 466 if ( h ) GUSILoadConfiguration(h); |
| 467 if ( prefrh != -1) CloseResFile(prefrh); | 467 if ( prefrh != -1) CloseResFile(prefrh); |
| 468 UseResFile(oldrh); | 468 UseResFile(oldrh); |
| 469 } | 469 } |
| 470 #endif /* USE_GUSI */ | 470 #endif /* USE_GUSI1 */ |
