xorg-x11-libs/bug233919-libXaw.diff

12 lines
273 B
Diff

--- src/XawI18n.c.orig 2007-01-23 17:57:23.950559108 +0100
+++ src/XawI18n.c 2007-01-23 17:57:49.881027639 +0100
@@ -96,7 +96,7 @@
int
_Xaw_iswalnum(wchar_t ch)
{
- unsigned char mb[sizeof(wchar_t)];
+ unsigned char mb[MB_CUR_MAX];
wctomb((char*)mb, ch);