rectangle: Correct assignment of right within SetExtents
Previously left was being assigned twice in a row.
This commit is contained in:
1 parent
840a80670f
commit
e064196f25
1 file changed
+1
-1
@@ -41,7 +41,7 @@ struct Rectangle
|
||||
{
|
||||
left = x;
|
||||
top = y;
|
||||
left = x + width;
|
||||
right = x + width;
|
||||
bottom = y + height;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user