Christian Costa : d3dxof: Accept longer string size.
Alexandre Julliard
julliard at winehq.org
Wed Apr 22 10:18:48 CDT 2009
Module: wine
Branch: master
Commit: 8dc455bc6388688eb317659896330d1529019d17
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8dc455bc6388688eb317659896330d1529019d17
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Tue Apr 21 23:31:14 2009 +0200
d3dxof: Accept longer string size.
---
dlls/d3dxof/parsing.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 1205e48..4a0ecaa 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 == '"')
{
More information about the wine-cvs
mailing list