mirror of
https://github.com/encounter/SDL.git
synced 2025-06-05 14:13:30 +00:00
Use the right kind of 0
This commit is contained in:
parent
2461930601
commit
dc2a682a82
@ -1364,7 +1364,7 @@ SDL_vsscanf(const char *text, const char *fmt, va_list ap)
|
|||||||
break;
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
{
|
{
|
||||||
double value = 0;
|
double value = 0.0;
|
||||||
advance = SDL_ScanFloat(text, &value);
|
advance = SDL_ScanFloat(text, &value);
|
||||||
text += advance;
|
text += advance;
|
||||||
if (advance && !suppress) {
|
if (advance && !suppress) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user