Changeset 902 for trunk/gsdl/src/w32server/locate.cpp
- Timestamp:
- 2000-02-03T14:45:48+13:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/w32server/locate.cpp
r611 r902 52 52 { 53 53 if (log_file != NULL) fclose(log_file); 54 log_file = fopen(gs _log_name, "a");54 log_file = fopen(gsdl_log_name, "a"); 55 55 if (log_file != NULL) { 56 56 fprintf (log_file, "\n\n-----------\n"); … … 75 75 void activate_console(void) 76 76 { 77 gs _show_console = 1;77 gsdl_show_console = 1; 78 78 next_console = console_buffer; 79 79 *next_console = 0; … … 86 86 void deactivate_console(void) 87 87 { 88 gs _show_console = 0;88 gsdl_show_console = 0; 89 89 InvalidateRect(GSDL_Window,NULL,TRUE); 90 90 } … … 189 189 fflush(log_file); 190 190 } 191 if (gs _show_console) {191 if (gsdl_show_console) { 192 192 char buffer[1024]; HDC dc; 193 193 sprintf(buffer,"%s",msg); … … 210 210 211 211 // these messages are not send to the console 212 if (gs _show_console) {212 if (gsdl_show_console) { 213 213 HDC dc; 214 214 dc = GetDC(GSDL_Window);
Note:
See TracChangeset
for help on using the changeset viewer.