Module: wine Branch: master Commit: 62da5f260430752fd1d30934f91f2ee185b2bd84 URL: http://source.winehq.org/git/wine.git/?a=commit;h=62da5f260430752fd1d30934f9...
Author: Frédéric Delanoy frederic.delanoy@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)