diff options
Diffstat (limited to 'src/hci/tui/settings_ui.c')
| -rw-r--r-- | src/hci/tui/settings_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/tui/settings_ui.c b/src/hci/tui/settings_ui.c index 336af4e91..c6261c77f 100644 --- a/src/hci/tui/settings_ui.c +++ b/src/hci/tui/settings_ui.c @@ -118,7 +118,7 @@ static void load_setting ( struct setting_widget *widget ) { /* Read current setting value */ if ( show_setting ( widget->context, widget->setting, - widget->value, sizeof ( widget->value ) ) != 0 ) { + widget->value, sizeof ( widget->value ) ) < 0 ) { widget->value[0] = '\0'; } |
