version 1.1, 2000/01/09 17:01:19 |
version 1.1.1.2, 2000/01/22 14:16:33 |
|
|
int CALLBACK WINEXPORT |
int CALLBACK WINEXPORT |
ShutDown(void) |
ShutDown(void) |
{ |
{ |
|
#if 0 /* HBB 19990505: try to avoid crash on clicking 'close' */ |
|
/* Problem was that WinExit was called *twice*, once directly, |
|
* and again via 'atexit'. This caused problems by double-freeing |
|
* of GlobalAlloc-ed memory inside TextClose() */ |
|
/* Caveat: relies on atexit() working properly */ |
WinExit(); |
WinExit(); |
|
#endif |
exit(0); |
exit(0); |
return 0; |
return 0; |
} |
} |
Line 448 size_t MyFRead(void *ptr, size_t size, size_t n, FILE |
|
Line 454 size_t MyFRead(void *ptr, size_t size, size_t n, FILE |
|
#define MAX_PRT_LEN 256 |
#define MAX_PRT_LEN 256 |
static char win_prntmp[MAX_PRT_LEN+1]; |
static char win_prntmp[MAX_PRT_LEN+1]; |
|
|
extern GW graphwin; |
|
|
|
FILE * |
FILE * |
open_printer() |
open_printer() |
{ |
{ |