]> code.delx.au - gnu-emacs/blobdiff - lwlib/xlwmenu.c
Minor adjustments of recently-changed frame functions.
[gnu-emacs] / lwlib / xlwmenu.c
index e8831c37f8fdbb3fb62fcc01167d8ba921c9d6fd..c76cb1a3f386e2aae13a4a2d700b12c8381a2f89 100644 (file)
@@ -28,7 +28,6 @@ Boston, MA 02110-1301, USA.  */
 #include <lisp.h>
 
 #include <stdio.h>
-#include <ctype.h>
 
 #include <sys/types.h>
 #if (defined __sun) && !(defined SUNOS41)
@@ -1858,7 +1857,7 @@ openXftFont (XlwMenuWidget mw)
       int screen = XScreenNumberOfScreen (mw->core.screen);
       int len = strlen (fname), i = len-1;
       /* Try to convert Gtk-syntax (Sans 9) to Xft syntax Sans-9.  */
-      while (i > 0 && isdigit (fname[i]))
+      while (i > 0 && '0' <= fname[i] && fname[i] <= '9')
         --i;
       if (fname[i] == ' ')
         {