d3dxof: Keywords are case insensitive.

This commit is contained in:
Christian Costa 2008-11-27 22:10:11 +01:00 committed by Alexandre Julliard
parent f40afa87c6
commit 0409ff6269

View File

@ -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;