aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 046cf5100a6..8f61d79d287 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3939,9 +3939,14 @@ x_new_font (f, fontname)
3939 XFontStruct *font; 3939 XFontStruct *font;
3940 3940
3941 /* Try to find a character-cell font in the list. */ 3941 /* Try to find a character-cell font in the list. */
3942#if 0
3943 /* A laudable goal, but this isn't how to do it. */
3942 for (i = 0; i < n_matching_fonts; i++) 3944 for (i = 0; i < n_matching_fonts; i++)
3943 if (! font_info[i].per_char) 3945 if (! font_info[i].per_char)
3944 break; 3946 break;
3947#else
3948 i = 0;
3949#endif
3945 3950
3946 if (i >= n_matching_fonts) 3951 if (i >= n_matching_fonts)
3947 return 2; 3952 return 2;