=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: shdocvw/tests: Constify some character strings.

Alexandre Julliard julliard at winehq.org
Mon Dec 30 13:05:59 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sat Dec 28 14:10:47 2013 +0100

shdocvw/tests: Constify some character strings.

---

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

diff --git a/dlls/shdocvw/tests/shdocvw.c b/dlls/shdocvw/tests/shdocvw.c
index ad89c4a..7b4eccf 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";
 
 /* ################ */
 




More information about the wine-cvs mailing list