Skip to content

Commit 0f94159

Browse files
Affonso-Guik-okada
authored andcommitted
Avoid irteusx errors when a file named 'NIL' exists
1 parent 8f66a21 commit 0f94159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

irteus/irtx.l

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
(setq pname "/usr/X11R6/bin/cygX11-6.dll"))
8989

9090
;; for receiving Window Manager Messages
91-
(if (probe-file pname)
91+
(if (and pname (probe-file pname))
9292
(setq x-lib (load-foreign pname))
9393
(setq x-lib (sys::sysmod)))
9494
(defforeign SetWMProtocols x-lib "XSetWMProtocols" () :integer))

0 commit comments

Comments
 (0)