diff options
| author | Chong Yidong | 2008-06-11 06:00:36 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-06-11 06:00:36 +0000 |
| commit | 32a7e53cb36166c5ee44bed32520966307d62679 (patch) | |
| tree | a040598095378902f726235fdcd58fba164b856f /src | |
| parent | cc02ebe170fbcead58d9f2a9e430b46ee1112e52 (diff) | |
| download | emacs-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.c | 2 |
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; |