diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 3993f3a836e..5b0eb720ccb 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6700,7 +6700,7 @@ x_load_font (f, fontname, size) | |||
| 6700 | because XListFonts (called in x_list_font) of some X server has | 6700 | because XListFonts (called in x_list_font) of some X server has |
| 6701 | a bug of not finding a font even if the font surely exists and | 6701 | a bug of not finding a font even if the font surely exists and |
| 6702 | is loadable by XLoadQueryFont. */ | 6702 | is loadable by XLoadQueryFont. */ |
| 6703 | if (!NILP (font_names)) | 6703 | if (size > 0 && !NILP (font_names)) |
| 6704 | fontname = (char *) XSTRING (XCONS (font_names)->car)->data; | 6704 | fontname = (char *) XSTRING (XCONS (font_names)->car)->data; |
| 6705 | 6705 | ||
| 6706 | BLOCK_INPUT; | 6706 | BLOCK_INPUT; |