aboutsummaryrefslogtreecommitdiffstats
path: root/src/fontset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontset.c')
-rw-r--r--src/fontset.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/fontset.c b/src/fontset.c
index a6277b050d5..15fdf9f41a0 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -39,17 +39,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
39#include "intervals.h" 39#include "intervals.h"
40#include "fontset.h" 40#include "fontset.h"
41#include "window.h" 41#include "window.h"
42#ifdef HAVE_X_WINDOWS 42#ifdef HAVE_WINDOW_SYSTEM
43#include "xterm.h" 43#include TERM_HEADER
44#endif 44#endif /* HAVE_WINDOW_SYSTEM */
45#ifdef HAVE_NTGUI
46#include "w32term.h"
47#endif
48#ifdef HAVE_NS
49#include "nsterm.h"
50#endif
51#include "termhooks.h" 45#include "termhooks.h"
52
53#include "font.h" 46#include "font.h"
54 47
55/* FONTSET 48/* FONTSET
@@ -460,7 +453,7 @@ reorder_font_vector (Lisp_Object font_group, struct font *font)
460 } 453 }
461 454
462 if (score_changed) 455 if (score_changed)
463 qsort (XVECTOR (vec)->contents, size, word_size, 456 qsort (XVECTOR (vec)->u.contents, size, word_size,
464 fontset_compare_rfontdef); 457 fontset_compare_rfontdef);
465 XSETCAR (font_group, make_number (charset_ordered_list_tick)); 458 XSETCAR (font_group, make_number (charset_ordered_list_tick));
466} 459}