X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/ba13e6168a07a085c0ca8e67c91640b84ee0c1fd..76abf5e5a55899a0b3f8851fce7406858978e9a6:/src/fontset.c diff --git a/src/fontset.c b/src/fontset.c index 35d4bfb367..da745b31ca 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -42,7 +42,7 @@ along with GNU Emacs. If not, see . */ #ifdef HAVE_X_WINDOWS #include "xterm.h" #endif -#ifdef WINDOWSNT +#ifdef HAVE_NTGUI #include "w32term.h" #endif #ifdef HAVE_NS @@ -1275,7 +1275,7 @@ free_realized_fontsets (Lisp_Object base) doesn't remove FACE from a cache. Until we find a solution, we suppress this code, and simply use Fclear_face_cache even though that is not efficient. */ - BLOCK_INPUT; + block_input (); for (id = 0; id < ASIZE (Vfontset_table); id++) { Lisp_Object this = AREF (Vfontset_table, id); @@ -1296,7 +1296,7 @@ free_realized_fontsets (Lisp_Object base) } } } - UNBLOCK_INPUT; + unblock_input (); #else /* not 0 */ /* But, we don't have to call Fclear_face_cache if no fontset has been realized from BASE. */