aboutsummaryrefslogtreecommitdiffstats
path: root/src/termchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/termchar.h')
-rw-r--r--src/termchar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/termchar.h b/src/termchar.h
index 87072136317..f4b58f105b0 100644
--- a/src/termchar.h
+++ b/src/termchar.h
@@ -58,9 +58,9 @@ struct tty_display_info
58 58
59 int reference_count; /* Number of frames that are on this display. */ 59 int reference_count; /* Number of frames that are on this display. */
60 60
61 struct device *device; /* Points back to the generic display device 61 struct terminal *terminal; /* Points back to the generic terminal
62 structure. This is sometimes handy. */ 62 structure. This is sometimes handy. */
63 63
64 /* Info on cursor positioning. */ 64 /* Info on cursor positioning. */
65 struct cm *Wcm; 65 struct cm *Wcm;
66 66
@@ -194,7 +194,7 @@ extern struct tty_display_info *tty_list;
194 194
195#define FRAME_TTY(f) \ 195#define FRAME_TTY(f) \
196 ((f)->output_method == output_termcap \ 196 ((f)->output_method == output_termcap \
197 ? (f)->device->display_info.tty \ 197 ? (f)->terminal->display_info.tty \
198 : (abort(), (struct tty_display_info *) 0)) 198 : (abort(), (struct tty_display_info *) 0))
199 199
200#define CURTTY() FRAME_TTY (SELECTED_FRAME()) 200#define CURTTY() FRAME_TTY (SELECTED_FRAME())