diff options
| author | Gerd Moellmann | 2001-05-15 10:42:18 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-05-15 10:42:18 +0000 |
| commit | d5188d8c0c3a3a9bf4e32f98e18c258695d8988a (patch) | |
| tree | 0ff2de3ee79d3af49742493091a3a20686295d0a /src | |
| parent | 8a1ae4dd2a31d415d3c446f2f3701dd06d7a3bd4 (diff) | |
| download | emacs-d5188d8c0c3a3a9bf4e32f98e18c258695d8988a.tar.gz emacs-d5188d8c0c3a3a9bf4e32f98e18c258695d8988a.zip | |
(split_font_name): Handle `[...]' for the right
font name fields.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 68371ef2293..676f1d77254 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -2215,8 +2215,8 @@ split_font_name (f, font, numeric_p) | |||
| 2215 | indicated by tilde characters which we replace with | 2215 | indicated by tilde characters which we replace with |
| 2216 | `-' characters, here. */ | 2216 | `-' characters, here. */ |
| 2217 | if (*p == '[' | 2217 | if (*p == '[' |
| 2218 | && (i == XLFD_PIXEL_SIZE | 2218 | && (i - 1 == XLFD_PIXEL_SIZE |
| 2219 | || i == XLFD_POINT_SIZE)) | 2219 | || i - 1 == XLFD_POINT_SIZE)) |
| 2220 | { | 2220 | { |
| 2221 | char *start, *end; | 2221 | char *start, *end; |
| 2222 | int j; | 2222 | int j; |