shdocvw/tests: Constify some character strings

Frédéric Delanoy frederic.delanoy at gmail.com
Sat Dec 28 07:10:47 CST 2013


---
 dlls/shdocvw/tests/shdocvw.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/shdocvw/tests/shdocvw.c b/dlls/shdocvw/tests/shdocvw.c
index ad89c4a..c343021 100644
--- a/dlls/shdocvw/tests/shdocvw.c
+++ b/dlls/shdocvw/tests/shdocvw.c
@@ -36,13 +36,13 @@ static HRESULT (WINAPI *pURLSubRegQueryA)(LPCSTR, LPCSTR, DWORD, LPVOID, DWORD,
 static DWORD (WINAPI *pParseURLFromOutsideSourceA)(LPCSTR, LPSTR, LPDWORD, LPDWORD);
 static DWORD (WINAPI *pParseURLFromOutsideSourceW)(LPCWSTR, LPWSTR, LPDWORD, LPDWORD);
 
-static CHAR appdata[] = "AppData";
-static CHAR common_appdata[] = "Common AppData";
-static CHAR default_page_url[] = "Default_Page_URL";
-static CHAR does_not_exist[] = "does_not_exist";
-static CHAR regpath_iemain[] = "Software\\Microsoft\\Internet Explorer\\Main";
-static CHAR regpath_shellfolders[] = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
-static CHAR start_page[] = "Start Page";
+static const CHAR appdata[] = "AppData";
+static const CHAR common_appdata[] = "Common AppData";
+static const CHAR default_page_url[] = "Default_Page_URL";
+static const CHAR does_not_exist[] = "does_not_exist";
+static const CHAR regpath_iemain[] = "Software\\Microsoft\\Internet Explorer\\Main";
+static const CHAR regpath_shellfolders[] = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
+static const CHAR start_page[] = "Start Page";
 
 /* ################ */
 
-- 
1.8.5.2




More information about the wine-patches mailing list