From a5b5611108dabd1ae1957d0a57ebaeccc356b358 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 21 Sep 2006 11:47:56 +0000 Subject: "\0" != NULL Subversion-branch: /trunk/chocolate-doom Subversion-revision: 642 --- src/d_main.c | 6 +++--- src/p_spec.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/d_main.c b/src/d_main.c index ba262dde..f8ef8992 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_main.c 641 2006-09-21 11:13:28Z rtc_marine $ +// $Id: d_main.c 642 2006-09-21 11:47:56Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -184,7 +184,7 @@ //----------------------------------------------------------------------------- -static const char rcsid[] = "$Id: d_main.c 641 2006-09-21 11:13:28Z rtc_marine $"; +static const char rcsid[] = "$Id: d_main.c 642 2006-09-21 11:47:56Z fraggle $"; #define BGCOLOR 7 #define FGCOLOR 8 @@ -1406,7 +1406,7 @@ static struct {"Doom 1.9", "1.9", exe_doom_1_9}, {"Ultimate Doom", "ultimate", exe_ultimate}, {"Final Doom", "final", exe_final}, - { "\0", "\0", 0}, + { NULL, NULL, 0}, }; // Initialise the game version diff --git a/src/p_spec.c b/src/p_spec.c index 1371f2dc..52e7e1d8 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: p_spec.c 641 2006-09-21 11:13:28Z rtc_marine $ +// $Id: p_spec.c 642 2006-09-21 11:47:56Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -45,7 +45,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: p_spec.c 641 2006-09-21 11:13:28Z rtc_marine $"; +rcsid[] = "$Id: p_spec.c 642 2006-09-21 11:47:56Z fraggle $"; #include @@ -148,7 +148,7 @@ animdef_t animdefs[] = {true, "WFALL4", "WFALL1", 8}, {true, "DBRAIN4", "DBRAIN1", 8}, - { -1, "\0", "\0", 0} + { -1, NULL, NULL, 0}, }; anim_t anims[MAXANIMS]; -- cgit v1.2.3