summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-11-01 19:20:03 +0800
committerPo Lu <luangruo@yahoo.com>2022-11-01 19:20:15 +0800
commite39537ea1ec54e4073b2a3da2c94022c8ca912c2 (patch)
tree00bf0640636348b2dd828171e243a9ffccc7bb10 /src/xterm.c
parenteb68c3d5a23e519a4b9ffc7b87fa7db68a18ae0b (diff)
downloademacs-e39537ea1ec54e4073b2a3da2c94022c8ca912c2.tar.gz
emacs-e39537ea1ec54e4073b2a3da2c94022c8ca912c2.tar.bz2
emacs-e39537ea1ec54e4073b2a3da2c94022c8ca912c2.zip
* src/xterm.c (x_term_init): Fix last change.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index d8358269f60..bd60a04c6cd 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -29801,7 +29801,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
that also destroys the font, leading to to X protocol errors at
XtCloseDisplay. Just free the font info structure.
(Bug#18403) */
- XFreeFontInfo (NULL, query_result, 0);
+ XFreeFontInfo (NULL, query_result, 1);
x_uncatch_errors ();
}
#endif