Andrew Talbot : msvfw32: Constify a variable.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 20 05:25:10 CST 2007


Module: wine
Branch: master
Commit: b8e73ace1cb48bc7900f0a5a7469d6fc88c9f33e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b8e73ace1cb48bc7900f0a5a7469d6fc88c9f33e

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Feb 19 16:35:01 2007 +0000

msvfw32: Constify a variable.

---

 dlls/msvfw32/msvideo16.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvfw32/msvideo16.c b/dlls/msvfw32/msvideo16.c
index 0974ff7..00e0889 100644
--- a/dlls/msvfw32/msvideo16.c
+++ b/dlls/msvfw32/msvideo16.c
@@ -767,11 +767,11 @@ LRESULT VFWAPI ICSendMessage16(HIC16 hic, UINT16 msg, DWORD lParam1, DWORD lPara
 DWORD WINAPI VideoCapDriverDescAndVer16(WORD nr, LPSTR buf1, WORD buf1len,
                                         LPSTR buf2, WORD buf2len)
 {
+    static const char version_info_spec[] = "\\StringFileInfo\\040904E4\\FileDescription";
     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;




More information about the wine-cvs mailing list