Changeset 6375 for trunk/src/gdi32/dbglocal.cpp
- Timestamp:
- Jul 20, 2001, 5:42:38 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dbglocal.cpp
r6331 r6375 1 /* $Id: dbglocal.cpp,v 1. 6 2001-07-14 15:31:38sandervl Exp $ */1 /* $Id: dbglocal.cpp,v 1.7 2001-07-20 15:35:57 sandervl Exp $ */ 2 2 3 3 /* … … 16 16 #ifdef DEBUG 17 17 18 USHORT DbgEnabled [DBG_MAXFILES] = {0};19 USHORT DbgEnabledLvl2 [DBG_MAXFILES] = {0};18 USHORT DbgEnabledGDI32[DBG_MAXFILES] = {0}; 19 USHORT DbgEnabledLvl2GDI32[DBG_MAXFILES] = {0}; 20 20 21 char *DbgFileNames[DBG_MAXFILES] =21 static char *DbgFileNames[DBG_MAXFILES] = 22 22 { 23 23 "gdi32", … … 44 44 //****************************************************************************** 45 45 //****************************************************************************** 46 void ParseLogStatus ()46 void ParseLogStatusGDI32() 47 47 { 48 48 char *envvar = getenv(DBG_ENVNAME); … … 52 52 53 53 for(i=0;i<DBG_MAXFILES;i++) { 54 DbgEnabled [i] = 1;54 DbgEnabledGDI32[i] = 1; 55 55 } 56 56 … … 62 62 if(*(dbgvar-1) == '-') { 63 63 for(i=0;i<DBG_MAXFILES;i++) { 64 DbgEnabled [i] = 0;64 DbgEnabledGDI32[i] = 0; 65 65 } 66 66 } … … 70 70 if(dbgvar) { 71 71 if(*(dbgvar-1) == '-') { 72 DbgEnabled [i] = 0;72 DbgEnabledGDI32[i] = 0; 73 73 } 74 74 else 75 75 if(*(dbgvar-1) == '+') { 76 DbgEnabled [i] = 1;76 DbgEnabledGDI32[i] = 1; 77 77 } 78 78 } … … 83 83 if(*(dbgvar-1) == '+') { 84 84 for(i=0;i<DBG_MAXFILES;i++) { 85 DbgEnabledLvl2 [i] = 1;85 DbgEnabledLvl2GDI32[i] = 1; 86 86 } 87 87 } … … 91 91 if(dbgvar) { 92 92 if(*(dbgvar-1) == '-') { 93 DbgEnabledLvl2 [i] = 0;93 DbgEnabledLvl2GDI32[i] = 0; 94 94 } 95 95 else 96 96 if(*(dbgvar-1) == '+') { 97 DbgEnabledLvl2 [i] = 1;97 DbgEnabledLvl2GDI32[i] = 1; 98 98 } 99 99 }
Note:
See TracChangeset
for help on using the changeset viewer.