Skip to content

Commit

Permalink
menu.c (M_DrawSlider): change snprintf to q_snprintf after slider patch
Browse files Browse the repository at this point in the history
  • Loading branch information
protocultor committed Jun 4, 2024
1 parent bdfe7f3 commit eb1cc74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ void M_DrawSlider (int x, int y, float range, float value, const char *format)
M_DrawCharacter (x + i*8, y, 129);
M_DrawCharacter (x+i*8, y, 130);
M_DrawCharacter (x + (SLIDER_RANGE-1)*8 * range, y, 131);
snprintf(buffer, 5, format, value);
q_snprintf(buffer, 5, format, value);
M_Print (x + (SLIDER_RANGE + 1) * 8, y, buffer);
}

Expand Down

0 comments on commit eb1cc74

Please sign in to comment.