projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.12
[chise/xemacs-chise.git]
/
lwlib
/
xlwmenu.c
diff --git
a/lwlib/xlwmenu.c
b/lwlib/xlwmenu.c
index
cf4de8d
..
313e46f
100644
(file)
--- a/
lwlib/xlwmenu.c
+++ b/
lwlib/xlwmenu.c
@@
-483,7
+483,8
@@
massage_resource_name (CONST char *in, char *out)
char ch = massaged_resource_char[(unsigned char) *in++];
if (ch)
{
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;
firstp = False;
while ((ch = massaged_resource_char[(unsigned char) *in++]) != '\0')
*out++ = ch;