Mercurial > emacs
comparison src/w32term.c @ 84686:e68aa34ac58f
(w32_delete_terminal): Use terminal->name as liveness status.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 20 Sep 2007 21:19:13 +0000 |
parents | c7b52c80ffa2 |
children | 8556c5b11c62 |
comparison
equal
deleted
inserted
replaced
84685:502394270fc6 | 84686:e68aa34ac58f |
---|---|
6329 struct w32_display_info *dpyinfo = terminal->display_info.w32; | 6329 struct w32_display_info *dpyinfo = terminal->display_info.w32; |
6330 int i; | 6330 int i; |
6331 | 6331 |
6332 /* Protect against recursive calls. Fdelete_frame in | 6332 /* Protect against recursive calls. Fdelete_frame in |
6333 delete_terminal calls us back when it deletes our last frame. */ | 6333 delete_terminal calls us back when it deletes our last frame. */ |
6334 if (terminal->deleted) | 6334 if (!terminal->name) |
6335 return; | 6335 return; |
6336 | 6336 |
6337 BLOCK_INPUT; | 6337 BLOCK_INPUT; |
6338 /* Free the fonts in the font table. */ | 6338 /* Free the fonts in the font table. */ |
6339 for (i = 0; i < dpyinfo->n_fonts; i++) | 6339 for (i = 0; i < dpyinfo->n_fonts; i++) |