Changes in uspace/lib/ui/src/promptdialog.c [c0757e1f:e0cf963] in mainline
- File:
-
- 1 edited
-
uspace/lib/ui/src/promptdialog.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/promptdialog.c
rc0757e1f re0cf963 327 327 { 328 328 ui_prompt_dialog_t *dialog = (ui_prompt_dialog_t *) arg; 329 const char * text;329 const char *fname; 330 330 331 331 if (event->type == KEY_PRESS && … … 334 334 /* Confirm */ 335 335 if (dialog->cb != NULL && dialog->cb->bok != NULL) { 336 text= ui_entry_get_text(dialog->ename);337 dialog->cb->bok(dialog, dialog->arg, text);336 fname = ui_entry_get_text(dialog->ename); 337 dialog->cb->bok(dialog, dialog->arg, fname); 338 338 return; 339 339 } … … 358 358 { 359 359 ui_prompt_dialog_t *dialog = (ui_prompt_dialog_t *) arg; 360 const char * text;360 const char *fname; 361 361 362 362 if (dialog->cb != NULL && dialog->cb->bok != NULL) { 363 text= ui_entry_get_text(dialog->ename);364 dialog->cb->bok(dialog, dialog->arg, text);363 fname = ui_entry_get_text(dialog->ename); 364 dialog->cb->bok(dialog, dialog->arg, fname); 365 365 } 366 366 }
Note:
See TracChangeset
for help on using the changeset viewer.
