From: Po Lu Date: Thu, 6 Apr 2023 02:06:28 +0000 (+0800) Subject: ; Fix compiler warning X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6ac2627466fc193cc95bb84c59b3f23e9d5b6fa;p=emacs.git ; Fix compiler warning * src/xterm.c (x_term_init): Fix: "xterm.c", line 30759: warning: improper pointer/integer combination: op "=" --- 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