msvfw32: Constify a variable

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Feb 19 10:35:01 CST 2007


Changelog:
    msvfw32: Constify a variable.

diff -urN a/dlls/msvfw32/msvideo16.c b/dlls/msvfw32/msvideo16.c
--- a/dlls/msvfw32/msvideo16.c	2006-10-25 17:34:13.000000000 +0100
+++ b/dlls/msvfw32/msvideo16.c	2007-02-19 16:29:43.000000000 +0000
@@ -767,18 +767,18 @@
 DWORD WINAPI VideoCapDriverDescAndVer16(WORD nr, LPSTR buf1, WORD buf1len,
                                         LPSTR buf2, WORD buf2len)
 {
-    DWORD	verhandle;
-    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;
-    DWORD	bufLen, fnLen;
-    FILETIME	lastWrite;
-    HKEY	hKey;
-    BOOL        found = FALSE;
+    DWORD               verhandle;
+    DWORD               infosize;
+    UINT                subblocklen;
+    CHAR                *s, buf[2048], fn[260];
+    static const CHAR   version_info_spec[] = "\\StringFileInfo\\040904E4\\FileDescription";
+    LPBYTE              infobuf;
+    LPVOID              subblock;
+    DWORD               i, cnt = 0, lRet;
+    DWORD               bufLen, fnLen;
+    FILETIME            lastWrite;
+    HKEY                hKey;
+    BOOL                found = FALSE;
 
     TRACE("(%d,%p,%d,%p,%d)\n", nr, buf1, buf1len, buf2, buf2len);
     lRet = RegOpenKeyExA(HKEY_LOCAL_MACHINE, HKLM_DRIVERS32, 0, KEY_QUERY_VALUE, &hKey);



More information about the wine-patches mailing list