From fc4809e41bc5694231046eb2fd4c324c4daba13f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Sep 2010 13:25:37 +0000 Subject: cosmetic updates in engine list functions, trade menu updates --- src/ui/label.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ui/label.cc') diff --git a/src/ui/label.cc b/src/ui/label.cc index 3284d0e..b6f72c7 100644 --- a/src/ui/label.cc +++ b/src/ui/label.cc @@ -30,6 +30,11 @@ void Label::print(const size_t indent) const con_print << aux::pad_left(marker, indent*2) << label() << " \"" << text() << "\"" << std::endl; } +void Label::clear() +{ + label_text.clear(); +} + void Label::set_text(const char *text) { if (text) -- cgit v1.2.3