- Timestamp:
 - Apr 25, 2001, 10:53:02 PM (25 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/gdi32/font.cpp (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/gdi32/font.cpp
r5057 r5585 1 /* $Id: font.cpp,v 1.1 7 2001-02-02 19:37:08sandervl Exp $ */1 /* $Id: font.cpp,v 1.18 2001-04-25 20:53:02 sandervl Exp $ */ 2 2 3 3 /* … … 30 30 #include <stdlib.h> 31 31 #include <stdarg.h> 32 #include <ctype.h> 32 33 #include <string.h> 33 34 #include "misc.h" … … 121 122 strncpy(lpstrFaceTemp, lpstrFaceOriginal, LF_FACESIZE); 122 123 lpstrFaceTemp[LF_FACESIZE-1] = 0; 123 strupr(lpstrFaceTemp); 124 125 { 126 char *y = lpstrFaceTemp; 127 while(*y) { 128 if(IsDBCSLeadByte( *y )) { 129 y += 2; // DBCS skip 130 } else { 131 *y = toupper( *y ); 132 y++; 133 } 134 } 135 } 124 136 125 137 //lookup table  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  