- Timestamp:
- Jan 19, 2007 2:45:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/log.cpp
r148 r178 57 57 *******************************************************************************/ 58 58 /** Ascii to lower macro. */ 59 #define CHLOWER(ch) (((unsigned char)(ch) <= (unsigned char)'A') || ((unsigned char)(ch) > (unsigned char)'Z') ? (ch) : (ch) + ('a' - 'A'))59 #define CHLOWER(ch) (((unsigned char)(ch) - (unsigned char)'A') > (unsigned char)('Z' - 'A') ? (ch) : (ch) + ('a' - 'A')) 60 60 61 61 … … 1032 1032 { 1033 1033 if ( (*psz2 >= 'a' && *psz2 <= 'z') 1034 || (*psz2 >= 'A' && *psz2 <= 'Z') 1035 || (*psz2 >= '0' && *psz2 <= '9') ) 1034 || (*psz2 >= 'A' && *psz2 <= 'Z') ) 1036 1035 break; 1037 1036 fFlags |= aFlags[i].fFlag; … … 1702 1701 for (;;) 1703 1702 { 1704 #if defined(DEBUG) && defined(IN_RING3)1703 #if defined(DEBUG) && defined(IN_RING3) 1705 1704 /* sanity */ 1706 1705 if (pLogger->offScratch >= sizeof(pLogger->achScratch)) … … 1710 1709 AssertBreakpoint(); AssertBreakpoint(); 1711 1710 } 1712 #endif1711 #endif 1713 1712 1714 1713 /* how much */
Note:
See TracChangeset
for help on using the changeset viewer.