Try this.
ChangeLog:
@@ -1,3 1,7 @@
2000-03-14 Ben Wing <ben(a)xemacs.org>
* xlwmenu.c (massage_resource_name): Handle %_ and %%.
Index: xlwmenu.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/xlwmenu.c,v
retrieving revision 1.25.2.9
diff -u -w -r1.25.2.9 xlwmenu.c
--- xlwmenu.c 2000/02/19 09:54:02 1.25.2.9
+++ xlwmenu.c 2000/03/14 08:47:24
@@ -479,16 +479,26 @@
Boolean firstp = True;
while (*in)
{
- char ch = massaged_resource_char[(unsigned char) *in++];
+ if (*in == '%' && *(in + 1) == '_')
+ in += 2;
+ else
+ {
+ char ch;
+
+ if (*in == '%' && *(in + 1) == '%')
+ in++;
+ ch = massaged_resource_char[(unsigned char) *in++];
if (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')
+ while ((ch = massaged_resource_char[(unsigned char) *in++])
+ != '\0')
*out++ = ch;
if (!*(in-1)) /* Overshot the NULL byte? */
break;
+ }
}
}
*out = 0;
SL Baur wrote:
Running in a Japanese locale with --with-xfs I'm seeing English
lettering in the menubar with the latest CVS. This wasn't broken last
week.
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/typing.html.