Changeset 5461
- Timestamp:
 - Apr 3, 2001, 8:42:42 PM (25 years ago)
 - Location:
 - trunk
 - Files:
 - 
      
- 4 edited
 
- 
          
  include/win/wine/unicode.h (modified) (2 diffs)
 - 
          
  src/kernel32/codepage.cpp (modified) (1 diff)
 - 
          
  src/kernel32/unicode/wctype.c (modified) (1 diff)
 - 
          
  src/shell32/shellpath.c (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/include/win/wine/unicode.h
r5459 r5461 70 70 { 71 71 return (table->info.char_size == 2) && (table->dbcs.cp2uni_leadbytes[ch]); 72 }73 74 /* the character type contains the C1_* flags in the low 12 bits */75 /* and the C2_* type in the high 4 bits */76 static inline unsigned short get_char_typeW( WCHAR ch )77 {78 extern const unsigned short wctype_table[];79 return wctype_table[wctype_table[ch >> 8] + (ch & 0xff)];80 72 } 81 73 … … 184 176 extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n ); 185 177 extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub ); 186 178 extern unsigned short get_char_typeW( WCHAR ch ); 187 179 188 180 #endif /* __WINE_UNICODE_H */  - 
      
trunk/src/kernel32/codepage.cpp
r5458 r5461 508 508 return ch + casemap_upper[casemap_upper[ch >> 8] + (ch & 0xff)]; 509 509 } 510 511 /* the character type contains the C1_* flags in the low 12 bits */ 512 /* and the C2_* type in the high 4 bits */ 513 unsigned short get_char_typeW( WCHAR ch ) 514 { 515 extern const unsigned short wctype_table[]; 516 return wctype_table[wctype_table[ch >> 8] + (ch & 0xff)]; 517 }  - 
      
trunk/src/kernel32/unicode/wctype.c
r5450 r5461 4 4 #include "wine/unicode.h" 5 5 6 const unsigned short wctype_table[13824] =6 extern const unsigned short wctype_table[13824] = 7 7 { 8 8 /* offsets */  - 
      
trunk/src/shell32/shellpath.c
r4561 r5461 1 /* $Id: shellpath.c,v 1. 3 2000-11-06 10:20:56sandervl Exp $ */1 /* $Id: shellpath.c,v 1.4 2001-04-03 18:42:42 sandervl Exp $ */ 2 2 /* 3 3 * Path Functions … … 347 347 348 348 for(i=0; lpszExtensions[i]; i++) 349 if (! strcmpiW(lpszExtension,lpszExtensions[i])) return TRUE;349 if (!lstrcmpiW(lpszExtension,lpszExtensions[i])) return TRUE; 350 350 351 351 return FALSE;  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  