usp10: Constify a character string
Frédéric Delanoy
frederic.delanoy at gmail.com
Tue Dec 17 15:17:43 CST 2013
---
dlls/usp10/usp10.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
1.8.5
More information about the wine-patches
mailing list