Skip to content

Commit

Permalink
Adapt retrohtr to GUI label change.
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoparadox committed Jun 3, 2024
1 parent 244e223 commit 6199c24
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/retrohtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -723,10 +723,8 @@ MERROR_RETVAL retrohtr_tree_size(
ctl.base.y = retrohtr_node( tree, node_idx )->y;
ctl.base.w = 0;
ctl.base.h = 0;
strncpy( ctl.BUTTON.label,
mhtml_tag( parser,
retrohtr_node( tree, node_idx )->tag )->INPUT.value,
RETROGUI_BTN_LBL_SZ_MAX );
ctl.BUTTON.label = mhtml_tag( parser,
retrohtr_node( tree, node_idx )->tag )->INPUT.value;

/* Grab determined size back from control. */
retrohtr_node( tree, node_idx )->w = ctl.base.w;
Expand Down

0 comments on commit 6199c24

Please sign in to comment.