Skip to content

Commit

Permalink
.. but prevent code duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Jan 3, 2024
1 parent ef36690 commit 789800a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/ttkWinXPTheme.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ static void TabElementDraw(
int partId = elementData->info->partId;
int isSelected = (state & TTK_STATE_SELECTED);
int stateId = Ttk_StateTableLookup(elementData->info->statemap, state);
RECT rc = BoxToRect(b);
RECT rc;

if (mainInfoPtr != NULL) {
nbTabsStickBit = (Ttk_PositionSpec) mainInfoPtr->ttkNbTabsStickBit;
Expand Down

0 comments on commit 789800a

Please sign in to comment.