Mercurial > hg > xemacs-beta
diff lwlib/xlwmenu.c @ 394:7d59cb494b73 r21-2-12
Import from CVS: tag r21-2-12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:11:37 +0200 |
parents | 8626e4521993 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/lwlib/xlwmenu.c Mon Aug 13 11:10:52 2007 +0200 +++ b/lwlib/xlwmenu.c Mon Aug 13 11:11:37 2007 +0200 @@ -483,7 +483,8 @@ char ch = massaged_resource_char[(unsigned char) *in++]; if (ch) { - *out++ = firstp ? tolower (ch) : toupper (ch); + int int_ch = (int) (unsigned char) ch; + *out++ = firstp ? tolower (int_ch) : toupper (int_ch); firstp = False; while ((ch = massaged_resource_char[(unsigned char) *in++]) != '\0') *out++ = ch;