diff src/nsfont.m @ 111414:d291fc8615a3

* src/nsfont.m: Include termchar for new mouse-highlight.
author Jan D. <jan.h.d@swipnet.se>
date Sat, 06 Nov 2010 10:33:22 +0100
parents 4afa0b625189
children 417b1e4d63cd
line wrap: on
line diff
--- a/src/nsfont.m	Sat Nov 06 10:28:31 2010 +0200
+++ b/src/nsfont.m	Sat Nov 06 10:33:22 2010 +0100
@@ -37,6 +37,7 @@
 #include "frame.h"
 #include "character.h"
 #include "font.h"
+#include "termchar.h"
 
 /* TODO: Drop once we can assume gnustep-gui 0.17.1. */
 #ifdef NS_IMPL_GNUSTEP
@@ -1040,8 +1041,7 @@
       face = s->face;
       break;
     case NS_DUMPGLYPH_MOUSEFACE:
-      face = FACE_FROM_ID (s->f,
-                           FRAME_NS_DISPLAY_INFO (s->f)->mouse_face_face_id);
+      face = FACE_FROM_ID (s->f, MOUSE_HL_INFO (s->f)->mouse_face_face_id);
       if (!face)
         face = FACE_FROM_ID (s->f, MOUSE_FACE_ID);
       break;