Changeset 4583015 in mainline for uspace/lib/ui/src/menuentry.c
- Timestamp:
- 2022-03-07T16:10:44Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ca2680d
- Parents:
- 5c27e77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/menuentry.c
r5c27e77 r4583015 351 351 352 352 gfx_text_fmt_init(&fmt); 353 fmt.font = res->font; 353 354 fmt.halign = gfx_halign_left; 354 355 fmt.valign = gfx_valign_top; … … 371 372 goto error; 372 373 373 rc = gfx_puttext( res->font,&geom.caption_pos, &fmt, mentry->caption);374 rc = gfx_puttext(&geom.caption_pos, &fmt, mentry->caption); 374 375 if (rc != EOK) 375 376 goto error; … … 377 378 fmt.halign = gfx_halign_right; 378 379 379 rc = gfx_puttext( res->font,&geom.shortcut_pos, &fmt, mentry->shortcut);380 rc = gfx_puttext(&geom.shortcut_pos, &fmt, mentry->shortcut); 380 381 if (rc != EOK) 381 382 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.