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

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


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

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

qedit/tests: Constify some character strings.

---

 dlls/qedit/tests/mediadet.c |    4 ++--
 1 files 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;




More information about the wine-cvs mailing list