Skip to content

Commit

Permalink
Use the right kind of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 20, 2022
1 parent 2461930 commit dc2a682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/SDL_string.c
Expand Up @@ -1364,7 +1364,7 @@ SDL_vsscanf(const char *text, const char *fmt, va_list ap)
break;
case 'f':
{
double value = 0;
double value = 0.0;
advance = SDL_ScanFloat(text, &value);
text += advance;
if (advance && !suppress) {
Expand Down

0 comments on commit dc2a682

Please sign in to comment.