mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fixed dumb typo
This commit is contained in:
@@ -51,7 +51,7 @@ static void windowToPixelCoords(int *x, int *y)
|
||||
*x = int(double(*x) * scale);
|
||||
|
||||
if (y != nullptr)
|
||||
*y = int(double(*x) * scale);
|
||||
*y = int(double(*y) * scale);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ static void windowToPixelCoords(int *x, int *y)
|
||||
*x = int(double(*x) * scale);
|
||||
|
||||
if (y != nullptr)
|
||||
*y = int(double(*x) * scale);
|
||||
*y = int(double(*y) * scale);
|
||||
}
|
||||
|
||||
// And vice versa for setting mouse coordinates.
|
||||
|
||||
Reference in New Issue
Block a user