emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d6ac2627466: ; Fix compiler warning


From: Po Lu
Subject: master d6ac2627466: ; Fix compiler warning
Date: Wed, 5 Apr 2023 22:07:50 -0400 (EDT)

branch: master
commit d6ac2627466fc193cc95bb84c59b3f23e9d5b6fa
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; Fix compiler warning
    
    * src/xterm.c (x_term_init): Fix:
    
    "xterm.c", line 30759: warning: improper pointer/integer
    combination: op "="
---
 src/xterm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]