Fixed: Use %f to display a float

This commit is contained in:
kervala 2016-02-06 00:24:06 +01:00
parent 5cd59b493f
commit 1abd543732

View file

@ -112,7 +112,7 @@ bool InitMouseWithCursor (bool hardware)
} }
else if (width != 0 && height != 0) else if (width != 0 && height != 0)
{ {
nlwarning("mouse pos %u, %u", x, y); nlwarning("Mouse pos %f, %f", x, y);
Driver->setMousePos(x / width, y / height); Driver->setMousePos(x / width, y / height);
} }
} }