aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;