d3dxof: Accept longer string size.

This commit is contained in:
Christian Costa 2009-04-21 23:31:14 +02:00 committed by Alexandre Julliard
parent cd71cb26f9
commit 8dc455bc63

View file

@ -467,7 +467,7 @@ static BOOL is_integer(parse_buffer* buf)
static BOOL is_string(parse_buffer* buf)
{
char tmp[32];
char tmp[100];
DWORD pos = 0;
char c;
BOOL ok = 0;
@ -475,7 +475,7 @@ static BOOL is_string(parse_buffer* buf)
if (*buf->buffer != '"')
return FALSE;
while (!is_separator(c = *(buf->buffer+pos+1)) && (pos < 31))
while (!is_separator(c = *(buf->buffer+pos+1)) && (pos < 99))
{
if (c == '"')
{