Make sure all members are initialized in the constructor.

This commit is contained in:
Mark de Wever 2007-12-03 20:31:53 +00:00
parent 243e869866
commit 3e513633d4

View File

@ -19,7 +19,12 @@
#include "game_preferences.hpp"
namespace gui{
floating_textbox::floating_textbox() : box_(NULL), check_(NULL), mode_(TEXTBOX_NONE), label_(0)
floating_textbox::floating_textbox() :
box_(NULL),
check_(NULL),
mode_(TEXTBOX_NONE),
label_string_(),
label_(0)
{}
void floating_textbox::close(game_display& gui)