Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
393:2e030b8965b1 | 394:7d59cb494b73 |
---|---|
481 while (*in) | 481 while (*in) |
482 { | 482 { |
483 char ch = massaged_resource_char[(unsigned char) *in++]; | 483 char ch = massaged_resource_char[(unsigned char) *in++]; |
484 if (ch) | 484 if (ch) |
485 { | 485 { |
486 *out++ = firstp ? tolower (ch) : toupper (ch); | 486 int int_ch = (int) (unsigned char) ch; |
487 *out++ = firstp ? tolower (int_ch) : toupper (int_ch); | |
487 firstp = False; | 488 firstp = False; |
488 while ((ch = massaged_resource_char[(unsigned char) *in++]) != '\0') | 489 while ((ch = massaged_resource_char[(unsigned char) *in++]) != '\0') |
489 *out++ = ch; | 490 *out++ = ch; |
490 if (!*(in-1)) /* Overshot the NULL byte? */ | 491 if (!*(in-1)) /* Overshot the NULL byte? */ |
491 break; | 492 break; |