shithub: choc

Download patch

ref: a5b5611108dabd1ae1957d0a57ebaeccc356b358
parent: 6339c4cbeb608b008eafe0b1e358285ae08ef902
author: Simon Howard <[email protected]>
date: Thu Sep 21 07:47:56 EDT 2006

"\0" != NULL

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 642

--- 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 @@
     {"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
--- 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 <stdlib.h>
 
@@ -148,7 +148,7 @@
     {true,	"WFALL4",	"WFALL1",	8},
     {true,	"DBRAIN4",	"DBRAIN1",	8},
 	
-    {  -1,       "\0",       "\0",  0}
+    {  -1,       NULL,          NULL,           0},
 };
 
 anim_t		anims[MAXANIMS];