shithub: choc

Download patch

ref: 6151447af3a73b60e8fa3c4a1515206ddf318a60
parent: cb2b499ebdc1e192526ccd07404acb58fbff6df4
author: Simon Howard <[email protected]>
date: Fri Dec 15 19:53:17 EST 2006

"\0" -> NULL

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

--- a/src/sounds.c
+++ b/src/sounds.c
@@ -26,6 +26,7 @@
 //-----------------------------------------------------------------------------
 
 
+#include <stdlib.h>
 
 
 #include "doomtype.h"
@@ -37,7 +38,7 @@
 
 musicinfo_t S_music[] =
 {
-    {   "\0", 0, 0, 0 },
+    { NULL, 0, 0, 0 },
     { "e1m1", 0, 0, 0 },
     { "e1m2", 0, 0, 0 },
     { "e1m3", 0, 0, 0 },