ui_set_option: pass String.data, not String

This commit is contained in:
Justin M. Keyes 2018-04-12 06:58:27 +02:00
parent f44fb5b1a5
commit 2cbeb7ca56

View File

@ -213,7 +213,8 @@ static void ui_set_option(UI *ui, String name, Object value, Error *error)
return; return;
} }
api_set_error(error, kErrorTypeValidation, "No such UI option: %s", name); api_set_error(error, kErrorTypeValidation, "No such UI option: %s",
name.data);
#undef UI_EXT_OPTION #undef UI_EXT_OPTION
} }