comparison win/dw.c @ 635:6cec85b90635

Close debug file on exit
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 10 Apr 2009 10:30:54 +0000
parents c6a216c8174f
children 9ab89d89e6b4
comparison
equal deleted inserted replaced
634:c6a216c8174f 635:6cec85b90635
9052 * exitcode: Exit code reported to the operating system. 9052 * exitcode: Exit code reported to the operating system.
9053 */ 9053 */
9054 void API dw_exit(int exitcode) 9054 void API dw_exit(int exitcode)
9055 { 9055 {
9056 OleUninitialize(); 9056 OleUninitialize();
9057 if ( dbgfp != NULL )
9058 {
9059 fclose( dbgfp );
9060 }
9057 exit(exitcode); 9061 exit(exitcode);
9058 } 9062 }
9059 9063
9060 /* 9064 /*
9061 * Creates a splitbar window (widget) with given parameters. 9065 * Creates a splitbar window (widget) with given parameters.