Changes in uspace/lib/ui/src/list.c [5e758e4:a77c722] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/list.c
r5e758e4 ra77c722 800 800 } 801 801 802 /** Change list entry caption.803 *804 * @param entry UI list entry805 * @param caption New caption806 *807 * @return EOK on success, ENOMEM if out of memory808 */809 errno_t ui_list_entry_set_caption(ui_list_entry_t *entry, const char *caption)810 {811 char *dcaption;812 813 dcaption = str_dup(caption);814 if (dcaption == NULL)815 return ENOMEM;816 817 free(entry->caption);818 entry->caption = dcaption;819 820 (void)ui_list_entry_paint(entry, ui_list_entry_get_idx(entry));821 return EOK;822 }823 824 802 /** Clear UI list entry list. 825 803 *
Note:
See TracChangeset
for help on using the changeset viewer.