diff options
| author | Simon Glass <sjg@chromium.org> | 2025-05-02 08:46:37 -0600 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2025-05-30 09:49:32 +0100 |
| commit | 5a80996cb6a285d09c03d687dc9ad793f12e7bf1 (patch) | |
| tree | f380eb465821947d9af64a8d9364a446c9065713 /boot/cedit.c | |
| parent | 5ea2b533ed037b8f6f89c33f13dcf6188ba9162d (diff) | |
expo: Create a struct for generic text attributes
In preparation for adding more text types, refactor the common fields
into a new structure. This will allow common code to be used.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/cedit.c')
| -rw-r--r-- | boot/cedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/cedit.c b/boot/cedit.c index 792ab6d65bd..0f7a8657c58 100644 --- a/boot/cedit.c +++ b/boot/cedit.c @@ -271,7 +271,7 @@ static int get_cur_menuitem_text(const struct scene_obj_menu *menu, if (!txt) return log_msg_ret("txt", -ENOENT); - str = expo_get_str(scn->expo, txt->str_id); + str = expo_get_str(scn->expo, txt->gen.str_id); if (!str) return log_msg_ret("str", -ENOENT); *strp = str; |
