mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-20 08:45:53 +01:00
fixes to comply to ANSI C
This commit is contained in:
@@ -338,7 +338,18 @@ wmksize(unsigned int width, unsigned int height)
|
||||
}
|
||||
|
||||
|
||||
|
||||
WMRect
|
||||
wmkrect(int x, int y, unsigned int width, unsigned int height)
|
||||
{
|
||||
WMRect rect;
|
||||
|
||||
rect.pos.x = x;
|
||||
rect.pos.y = y;
|
||||
rect.size.width = width;
|
||||
rect.size.height = height;
|
||||
|
||||
return rect;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user