format code

This commit is contained in:
lixianjing 2020-01-14 10:07:12 +08:00
parent 8cc1d8697f
commit ed2c65dc0a
4 changed files with 4 additions and 5 deletions

View File

@ -91,8 +91,7 @@ ret_t file_chooser_choose(file_chooser_t* chooser) {
widget_t* win = window_open(chooser->ui); widget_t* win = window_open(chooser->ui);
widget_child_on(win, FILE_CHOOSER_OK, EVT_CLICK, file_choose_on_ok, chooser); widget_child_on(win, FILE_CHOOSER_OK, EVT_CLICK, file_choose_on_ok, chooser);
widget_child_on(win, FILE_CHOOSER_CANCEL, EVT_CLICK, widget_child_on(win, FILE_CHOOSER_CANCEL, EVT_CLICK, file_choose_on_click_to_close, chooser);
file_choose_on_click_to_close, chooser);
return RET_OK; return RET_OK;
} }