Mercurial > hg > xemacs-beta
diff lwlib/xlwmenu.c @ 343:8bec6624d99b r21-1-1
Import from CVS: tag r21-1-1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:52:53 +0200 |
parents | 54f7aa390f4f |
children | 7c94d56991e1 |
line wrap: on
line diff
--- a/lwlib/xlwmenu.c Mon Aug 13 10:52:06 2007 +0200 +++ b/lwlib/xlwmenu.c Mon Aug 13 10:52:53 2007 +0200 @@ -423,10 +423,9 @@ int i, j; #ifdef NEED_MOTIF + chars = ""; if (!XmStringGetLtoR (string, XmFONTLIST_DEFAULT_TAG, &chars)) - { - chars = ""; - } + chars = ""; #else chars = string; #endif @@ -872,7 +871,9 @@ char *chars; #ifdef NEED_MOTIF - XmStringGetLtoR (string, XmFONTLIST_DEFAULT_TAG, &chars); + chars = ""; + if (!XmStringGetLtoR (string, XmFONTLIST_DEFAULT_TAG, &chars)) + chars = ""; #else chars = string; #endif