Fix a typo in a variable name.

This commit is contained in:
Mark de Wever 2012-03-31 18:31:38 +00:00
parent 72fc103fe9
commit e00a83ec2a
2 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ void twml_message_::set_input(const std::string& caption,
has_input_ = true;
input_caption_ = caption;
input_text_ = text;
input_maximum_lenght_ = maximum_length;
input_maximum_length_ = maximum_length;
}
void twml_message_::set_option_list(
@ -85,7 +85,7 @@ void twml_message_::pre_show(CVideo& /*video*/, twindow& window)
caption.set_label(input_caption_);
caption.set_use_markup(true);
input.set_value(*input_text_);
input.set_maximum_length(input_maximum_lenght_);
input.set_maximum_length(input_maximum_length_);
window.keyboard_capture(&input);
window.set_click_dismiss(false);
window.set_escape_disabled(true);

View file

@ -39,7 +39,7 @@ public:
, has_input_(false)
, input_caption_("")
, input_text_(NULL)
, input_maximum_lenght_(0)
, input_maximum_length_(0)
, option_list_()
, chosen_option_(NULL)
{
@ -89,7 +89,7 @@ private:
std::string* input_text_;
/** The maximum length of the input text. */
unsigned input_maximum_lenght_;
unsigned input_maximum_length_;
/** The list of options the user can choose. */
std::vector<std::string> option_list_;