aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfont.c b/src/xfont.c
index df69c9141bd..72437f374e8 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -895,7 +895,7 @@ xfont_close (struct font *font)
895 struct xfont_info *xfi = (struct xfont_info *) font; 895 struct xfont_info *xfi = (struct xfont_info *) font;
896 896
897 /* This function may be called from GC when X connection is gone 897 /* This function may be called from GC when X connection is gone
898 (Bug#16093), and an attempt to free font resourses on invalid 898 (Bug#16093), and an attempt to free font resources on invalid
899 display may lead to X protocol errors or segfaults. */ 899 display may lead to X protocol errors or segfaults. */
900 if (xfi->xfont && x_display_info_for_display (xfi->display)) 900 if (xfi->xfont && x_display_info_for_display (xfi->display))
901 { 901 {