[editbox] Allow for password widgets that do not display their contents
[people/lynusvaz/gpxe.git] / src / hci / tui / settings_ui.c
index 0907bfd..4ab3827 100644 (file)
@@ -123,7 +123,7 @@ static void load_setting ( struct setting_widget *widget ) {
        init_editbox ( &widget->editbox, widget->value,
                       sizeof ( widget->value ), NULL, widget->row,
                       ( widget->col + offsetof ( struct setting_row, value )),
-                      sizeof ( ( ( struct setting_row * ) NULL )->value ) );
+                      sizeof ( ( ( struct setting_row * ) NULL )->value ), 0);
 }
 
 /**