Andrew Talbot : version: Constify a variable.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Feb 23 05:28:15 CST 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Thu Feb 22 21:48:14 2007 +0000

version: Constify a variable.

---

 dlls/version/install.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/version/install.c b/dlls/version/install.c
index c341f83..2f70b10 100644
--- a/dlls/version/install.c
+++ b/dlls/version/install.c
@@ -453,8 +453,8 @@ DWORD WINAPI VerInstallFileA(
 	if (buf1) {
 	    buf2 = _fetch_versioninfo(tmpfn,&tmpvffi);
 	    if (buf2) {
-	    	char	*tbuf1,*tbuf2;
-	    	static CHAR trans_array[] = "\\VarFileInfo\\Translation";
+		char	*tbuf1,*tbuf2;
+		static const CHAR trans_array[] = "\\VarFileInfo\\Translation";
 		UINT	len1,len2;
 
 		len1=len2=40;




More information about the wine-cvs mailing list