Mercurial > hg > xemacs-beta
diff lwlib/xlwmenu.c @ 335:54f7aa390f4f r21-0-65
Import from CVS: tag r21-0-65
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:50:39 +0200 |
parents | afd57c14dfc8 |
children | 8bec6624d99b |
line wrap: on
line diff
--- a/lwlib/xlwmenu.c Mon Aug 13 10:49:52 2007 +0200 +++ b/lwlib/xlwmenu.c Mon Aug 13 10:50:39 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;