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

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


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

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

shell32/tests: Constify some character strings.

---

 dlls/shell32/tests/shlfolder.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 0992924..f692837 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -1970,8 +1970,8 @@ static void test_SHGetFolderPathAndSubDirA(void)
     BOOL delret;
     DWORD dwret;
     int i;
-    static char wine[] = "wine";
-    static char winetemp[] = "wine\\temp";
+    static const char wine[] = "wine";
+    static const char winetemp[] = "wine\\temp";
     static char appdata[MAX_PATH];
     static char testpath[MAX_PATH];
     static char toolongpath[MAX_PATH+1];




More information about the wine-cvs mailing list