From 2c9a952cae89f839f6d292bca6511cb7e013bf10 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 20 Sep 2004 05:13:33 +0000
Subject: [PATCH] Fix warnings on systems with a void * NULL.

---
 src/conio/console.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conio/console.c b/src/conio/console.c
index 415d92793c..71718a5483 100644
--- a/src/conio/console.c
+++ b/src/conio/console.c
@@ -82,7 +82,7 @@ TextLine *lines = NULL;
 Display *dpy=NULL;
 Window win;
 XImage *xi = 0;
-Pixmap pfnt=NULL;
+Pixmap pfnt=0;
 Visual *visual;
 unsigned int depth;
 unsigned long black;
@@ -957,7 +957,7 @@ load_font(char *filename, int width, int height)
 	FW = width;
     FH = height;
 
-	if(pfnt!=NULL)
+	if(pfnt!=0)
 		XFreePixmap(dpy,pfnt);
 	pfnt=XCreateBitmapFromData(dpy, win, font, FW, FH*256);
 
-- 
GitLab