shithub: choc

Download patch

ref: ba7589ba46ab1f40fe5816d80c3994e0e1957a29
parent: 27f2691ac932f2848b7b844d5ad453c3923e8116
author: Simon Howard <[email protected]>
date: Fri Sep 22 08:16:00 EDT 2006

Fix warning about initialiser.

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

--- a/src/m_cheat.h
+++ b/src/m_cheat.h
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: m_cheat.h 641 2006-09-21 11:13:28Z rtc_marine $
+// $Id: m_cheat.h 650 2006-09-22 12:16:00Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -37,7 +37,7 @@
 // declaring a cheat
 
 #define CHEAT(value, parameters) \
-    { value, sizeof(value) - 1, parameters, 0, 0, 0 }
+    { value, sizeof(value) - 1, parameters, 0, 0, "" }
 
 #define MAX_CHEAT_LEN 15
 #define MAX_CHEAT_PARAMS 5