From f445f4e739ceaa0bf08cc7ae87e723f02f1c0408 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 30 Jan 2010 16:13:39 +0000 Subject: [PATCH] Fix use-warning (and potential bug) --- Src/gui/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/gui/menu.cpp b/Src/gui/menu.cpp index 37af5ab..5cadb08 100644 --- a/Src/gui/menu.cpp +++ b/Src/gui/menu.cpp @@ -122,7 +122,7 @@ void Menu::draw(SDL_Surface *where, int x, int y, int w, int h) int n_pipe = 0; int total_chars = 0; int tw, th, tw_first; - int n_chars; + int n_chars = 0; char *p; int n;