aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-06-11 06:00:36 +0000
committerChong Yidong2008-06-11 06:00:36 +0000
commit32a7e53cb36166c5ee44bed32520966307d62679 (patch)
treea040598095378902f726235fdcd58fba164b856f /src
parentcc02ebe170fbcead58d9f2a9e430b46ee1112e52 (diff)
downloademacs-32a7e53cb36166c5ee44bed32520966307d62679.tar.gz
emacs-32a7e53cb36166c5ee44bed32520966307d62679.zip
(font_parse_fcname): Fix last change; accept decimal points in font
size.
Diffstat (limited to 'src')
-rw-r--r--src/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c
index 72ef2d3b58d..5fd2abe5641 100644
--- a/src/font.c
+++ b/src/font.c
@@ -1365,7 +1365,7 @@ font_parse_fcname (name, font)
1365 { 1365 {
1366 int size_found = 1; 1366 int size_found = 1;
1367 for (q = p + 1; *q && *q != ':'; q++) 1367 for (q = p + 1; *q && *q != ':'; q++)
1368 if (! isdigit(*q)) 1368 if (! isdigit(*q) && *q != '.')
1369 { 1369 {
1370 size_found = 0; 1370 size_found = 0;
1371 break; 1371 break;