]> git.eshelyaron.com Git - emacs.git/commitdiff
(font_parse_fcname): Fix last change; accept decimal points in font
authorChong Yidong <cyd@stupidchicken.com>
Wed, 11 Jun 2008 06:00:36 +0000 (06:00 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 11 Jun 2008 06:00:36 +0000 (06:00 +0000)
size.

src/font.c

index 72ef2d3b58decee976844a4b6c60144643e242be..5fd2abe564141cff89cc82bc3fc65ed6c27e5bbd 100644 (file)
@@ -1365,7 +1365,7 @@ font_parse_fcname (name, font)
        {
          int size_found = 1;
          for (q = p + 1; *q && *q != ':'; q++)
-           if (! isdigit(*q))
+           if (! isdigit(*q) && *q != '.')
              {
                size_found = 0;
                break;