Commit 0409ff62 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dxof: Keywords are case insensitive.

parent f40afa87
...@@ -498,7 +498,7 @@ static WORD get_operator_token(char c) ...@@ -498,7 +498,7 @@ static WORD get_operator_token(char c)
static BOOL is_keyword(parse_buffer* buf, const char* keyword) static BOOL is_keyword(parse_buffer* buf, const char* keyword)
{ {
DWORD len = strlen(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->buffer += len;
buf->rem_bytes -= len; buf->rem_bytes -= len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment