Christian Costa : d3dxof: Keywords are case insensitive.

Alexandre Julliard julliard at winehq.org
Fri Nov 28 07:16:35 CST 2008


Module: wine
Branch: master
Commit: 0409ff626977e7a9b2b057a36d2756eb86b95c06
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0409ff626977e7a9b2b057a36d2756eb86b95c06

Author: Christian Costa <titan.costa at wanadoo.fr>
Date:   Thu Nov 27 22:10:11 2008 +0100

d3dxof: Keywords are case insensitive.

---

 dlls/d3dxof/d3dxof.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index 5f471b1..dbafcc6 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -498,7 +498,7 @@ static WORD get_operator_token(char c)
 static BOOL is_keyword(parse_buffer* buf, const char* keyword)
 {
   DWORD len = strlen(keyword);
-  if (!strncmp((char*)buf->buffer, keyword,len) && is_separator(*(buf->buffer+len)))
+  if (!strncasecmp((char*)buf->buffer, keyword,len) && is_separator(*(buf->buffer+len)))
   {
     buf->buffer += len;
     buf->rem_bytes -= len;




More information about the wine-cvs mailing list