qedit/tests: Constify some character strings

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


---
 dlls/qedit/tests/mediadet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/qedit/tests/mediadet.c b/dlls/qedit/tests/mediadet.c
index 42ac7dc..c488b37 100644
--- a/dlls/qedit/tests/mediadet.c
+++ b/dlls/qedit/tests/mediadet.c
@@ -76,8 +76,8 @@ static WCHAR test_sound_avi_filename[MAX_PATH];
 static BOOL unpack_avi_file(int id, WCHAR name[MAX_PATH])
 {
     static WCHAR temp_path[MAX_PATH];
-    static WCHAR prefix[] = {'D','E','S',0};
-    static WCHAR avi[] = {'a','v','i',0};
+    static const WCHAR prefix[] = {'D','E','S',0};
+    static const WCHAR avi[] = {'a','v','i',0};
     HRSRC res;
     HGLOBAL data;
     char *mem;
-- 
1.8.5.2




More information about the wine-patches mailing list