[editbox] Allow for password widgets that do not display their contents

This commit is contained in:
Michael Brown
2009-02-17 11:55:55 +00:00
parent cff419148c
commit 67ee41ad6d
3 changed files with 19 additions and 6 deletions

View 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);
}
/**