sql tokens are case insensitive in msi.dll

Mike McCormack mike at codeweavers.com
Thu Oct 30 15:56:55 CST 2003


ChangeLog:
* sql tokens are case insensitive in msi.dll
-------------- next part --------------
Index: dlls/msi/tokenize.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/tokenize.c,v
retrieving revision 1.2
diff -u -r1.2 tokenize.c
--- dlls/msi/tokenize.c	5 Sep 2003 23:08:35 -0000	1.2
+++ dlls/msi/tokenize.c	29 Oct 2003 08:22:22 -0000
@@ -154,6 +154,8 @@
   char buffer[0x10];
 
   len = WideCharToMultiByte( CP_ACP, 0, z, n, buffer, sizeof buffer, NULL, NULL );
+  for(i=0; i<len; i++)
+      buffer[i] = toupper(buffer[i]);
   for(i=0; i<KEYWORD_COUNT; i++)
   {
       if(memcmp(buffer, aKeywordTable[i].zName, len))


More information about the wine-patches mailing list