msvfw32: Write-strings warning fix

Andrew Talbot Andrew.Talbot at talbotville.com
Thu Aug 3 13:33:40 CDT 2006


Changelog:
    msvfw32: Write-strings warning fix.

diff -urN a/dlls/msvfw32/msvideo16.c b/dlls/msvfw32/msvideo16.c
--- a/dlls/msvfw32/msvideo16.c	2006-05-23 13:48:20.000000000 +0100
+++ b/dlls/msvfw32/msvideo16.c	2006-08-03 18:03:22.000000000 +0100
@@ -772,6 +772,7 @@
     DWORD	infosize;
     UINT	subblocklen;
     char	*s, buf[2048], fn[260];
+    static char version_info_spec[] = "\\StringFileInfo\\040904E4\\FileDescription";
     LPBYTE	infobuf;
     LPVOID	subblock;
     DWORD	i, cnt = 0, lRet;
@@ -844,7 +845,7 @@
     }
     /* FIXME: language problem? */
     if (VerQueryValueA(	infobuf,
-                        "\\StringFileInfo\\040904E4\\FileDescription",
+                        version_info_spec,
                         &subblock,
                         &subblocklen
             )) 



More information about the wine-patches mailing list