=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: msxml3: Constify a character string.

Alexandre Julliard julliard at winehq.org
Wed Dec 18 14:27:47 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Dec 17 22:17:39 2013 +0100

msxml3: Constify a character string.

---

 dlls/msxml3/text.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/text.c b/dlls/msxml3/text.c
index fd8e33a..411f6eb 100644
--- a/dlls/msxml3/text.c
+++ b/dlls/msxml3/text.c
@@ -616,7 +616,7 @@ static HRESULT WINAPI domtext_put_data(
     BSTR data)
 {
     domtext *This = impl_from_IXMLDOMText( iface );
-    static WCHAR rnW[] = {'\r','\n',0};
+    static const WCHAR rnW[] = {'\r','\n',0};
 
     TRACE("(%p)->(%s)\n", This, debugstr_w(data));
 




More information about the wine-cvs mailing list