Skip to content

Commit

Permalink
Attempt to fix cppcheck run
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed May 6, 2023
1 parent b979352 commit bb8daf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hu_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ void HU_Drawer(void)
nughud_widget_t *nw = NULL;
const int delta = st_widecrispyhud ? WIDESCREENDELTA : 0;
const int left = 2 - WIDESCREENDELTA, right = 318 + WIDESCREENDELTA;
int alignment; // Used as the default if x == -1
int alignment = 0; // Used as the default if x == -1

if (w->line == &w_sttime) { nw = &nughud.time; alignment = left; }
else if (w->line == &w_monsec) { nw = &nughud.sts; alignment = left; }
Expand Down

0 comments on commit bb8daf7

Please sign in to comment.