diff options
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 3f97a74cbd6..fc778012e23 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3178,6 +3178,7 @@ DEFUN ("gpm-mouse-stop", Fgpm_mouse_stop, Sgpm_mouse_stop, | |||
| 3178 | #endif /* HAVE_GPM */ | 3178 | #endif /* HAVE_GPM */ |
| 3179 | 3179 | ||
| 3180 | 3180 | ||
| 3181 | #ifndef MSDOS | ||
| 3181 | /*********************************************************************** | 3182 | /*********************************************************************** |
| 3182 | Initialization | 3183 | Initialization |
| 3183 | ***********************************************************************/ | 3184 | ***********************************************************************/ |
| @@ -3215,6 +3216,20 @@ tty_free_frame_resources (struct frame *f) | |||
| 3215 | xfree (f->output_data.tty); | 3216 | xfree (f->output_data.tty); |
| 3216 | } | 3217 | } |
| 3217 | 3218 | ||
| 3219 | #else /* MSDOS */ | ||
| 3220 | |||
| 3221 | /* Delete frame F's face cache. */ | ||
| 3222 | |||
| 3223 | static void | ||
| 3224 | tty_free_frame_resources (struct frame *f) | ||
| 3225 | { | ||
| 3226 | if (! FRAME_TERMCAP_P (f) && ! FRAME_MSDOS_P (f)) | ||
| 3227 | abort (); | ||
| 3228 | |||
| 3229 | if (FRAME_FACE_CACHE (f)) | ||
| 3230 | free_frame_faces (f); | ||
| 3231 | } | ||
| 3232 | #endif /* MSDOS */ | ||
| 3218 | 3233 | ||
| 3219 | /* Reset the hooks in TERMINAL. */ | 3234 | /* Reset the hooks in TERMINAL. */ |
| 3220 | 3235 | ||