comparison 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
comparison
equal deleted inserted replaced
334:58353925ad93 335:54f7aa390f4f
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;