summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-04-06 10:06:28 +0800
committerPo Lu <luangruo@yahoo.com>2023-04-06 10:07:25 +0800
commitd6ac2627466fc193cc95bb84c59b3f23e9d5b6fa (patch)
treee13f6437be8793907d20ce615a161a5cc7832e7f /src
parentfa669c4b17c04eff852eb23a6179ccb8fab864db (diff)
downloademacs-d6ac2627466fc193cc95bb84c59b3f23e9d5b6fa.tar.gz
; Fix compiler warning
* src/xterm.c (x_term_init): Fix: "xterm.c", line 30759: warning: improper pointer/integer combination: op "="
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 70bcb67d80d..d621d94a2cf 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -30756,7 +30756,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
dpyinfo->invisible_cursor = make_invisible_cursor (dpyinfo);
#if defined HAVE_XFIXES && XFIXES_VERSION >= 40000
- dpyinfo->fixes_pointer_blanking = egetenv ("EMACS_XFIXES");
+ dpyinfo->fixes_pointer_blanking = (egetenv ("EMACS_XFIXES") != NULL);
#endif
#ifdef HAVE_X_I18N