From 8dc455bc6388688eb317659896330d1529019d17 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Tue, 21 Apr 2009 23:31:14 +0200 Subject: [PATCH] d3dxof: Accept longer string size. --- dlls/d3dxof/parsing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c index 1205e48cbb2..4a0ecaaa55d 100644 --- a/dlls/d3dxof/parsing.c +++ b/dlls/d3dxof/parsing.c @@ -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 == '"') { -- 2.11.4.GIT