mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-24 08:36:55 +01:00
fixes to comply to ANSI C
This commit is contained in:
1 parent
bd7943d9a7
commit
8457611316
19 files changed
+837
-816
No files matched your search
@@ -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