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

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


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

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

usp10: Constify a character string.

---

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

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 878c39f..94785b2 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -1392,7 +1392,7 @@ static HRESULT _ItemizeInternal(const WCHAR *pwcInChars, int cInChars,
         else
         {
             BOOL inNumber = FALSE;
-            static WCHAR math_punc[] = {'#','$','%','+',',','-','.','/',':',0x2212, 0x2044, 0x00a0,0};
+            static const WCHAR math_punc[] = {'#','$','%','+',',','-','.','/',':',0x2212, 0x2044, 0x00a0,0};
 
             strength = heap_alloc_zero(cInChars * sizeof(WORD));
             if (!strength)




More information about the wine-cvs mailing list