Andrew Talbot : msvfw32: Write-strings warning fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Aug 3 15:58:30 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: a92e7b1a9fad167564c171281e677ae1f3ff6952
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a92e7b1a9fad167564c171281e677ae1f3ff6952
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Thu Aug 3 19:33:40 2006 +0100
msvfw32: Write-strings warning fix.
---
dlls/msvfw32/msvideo16.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msvfw32/msvideo16.c b/dlls/msvfw32/msvideo16.c
index f35c2b7..c812592 100644
--- a/dlls/msvfw32/msvideo16.c
+++ b/dlls/msvfw32/msvideo16.c
@@ -772,6 +772,7 @@ DWORD WINAPI VideoCapDriverDescAndVer16(
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 @@ DWORD WINAPI VideoCapDriverDescAndVer16(
}
/* FIXME: language problem? */
if (VerQueryValueA( infobuf,
- "\\StringFileInfo\\040904E4\\FileDescription",
+ version_info_spec,
&subblock,
&subblocklen
))
More information about the wine-cvs
mailing list