mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-20 10:18:13 +00:00
Use the right kind of 0
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user