From c333a8ab8286fbaebd6e1e66c78337ba46193d13 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 12 Apr 2008 22:18:38 +0000 Subject: [PATCH] - fixed an uninitialized variable in v_font.cpp SVN r907 (trunk) --- src/v_font.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v_font.cpp b/src/v_font.cpp index 563181114..f290b216a 100644 --- a/src/v_font.cpp +++ b/src/v_font.cpp @@ -305,6 +305,7 @@ FFont::FFont (const char *name, const char *nametemplate, int first, int count, for (i = 0; i < count; i++) { + charlumps[i] = -1; sprintf (buffer, nametemplate, i + start); lump = Wads.CheckNumForName (buffer, ns_graphics); if (doomtemplate && lump >= 0 && i + start == 121)