oleview: Constify a character string

Frédéric Delanoy frederic.delanoy at gmail.com
Wed Dec 18 16:14:17 CST 2013


---
 programs/oleview/oleview.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/oleview/oleview.c b/programs/oleview/oleview.c
index 9ceaa49..3a379b4 100644
--- a/programs/oleview/oleview.c
+++ b/programs/oleview/oleview.c
@@ -25,7 +25,7 @@
 
 GLOBALS globals;
 static const WCHAR wszRegEdit[] = { '\\','r','e','g','e','d','i','t','.','e','x','e','\0' };
-static WCHAR wszFormat[] = { '<','o','b','j','e','c','t','\n',' ',' ',' ',
+static const WCHAR wszFormat[] = { '<','o','b','j','e','c','t','\n',' ',' ',' ',
     'c','l','a','s','s','i','d','=','\"','c','l','s','i','d',':','%','s','\"','\n',
     '>','\n','<','/','o','b','j','e','c','t','>','\0' };
 
-- 
1.8.5




More information about the wine-patches mailing list