diff --git a/frontend/ui/widget/inputtext.lua b/frontend/ui/widget/inputtext.lua index 28d185d4e..cc1d93e4f 100644 --- a/frontend/ui/widget/inputtext.lua +++ b/frontend/ui/widget/inputtext.lua @@ -51,7 +51,7 @@ end function InputText:initTextBox(text) self.text = text self:initCharlist(text) - local fgcolor = 0.0, self.text == "" and 0.5 or 1.0 + local fgcolor = self.text == "" and 0.5 or 1.0 local text_widget = nil local show_text = self.text