summaryrefslogtreecommitdiff
path: root/src/widget/widget.c
diff options
context:
space:
mode:
authorDusan Durech <dusan.d@centrum.sk>2008-11-15 16:08:21 +0100
committerDusan Durech <dusan.d@centrum.sk>2008-11-15 16:08:21 +0100
commit35084eaadf8b37f5c4a325f0d4b01767753ee9c3 (patch)
tree8ca9a541783690eb6087a52faafa75e9a53d1521 /src/widget/widget.c
parent98875c5a636f50fe89b9394b8193e86094ae14e0 (diff)
modification coding stile
Diffstat (limited to 'src/widget/widget.c')
-rw-r--r--src/widget/widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widget/widget.c b/src/widget/widget.c
index 0dcfb41..b72a463 100644
--- a/src/widget/widget.c
+++ b/src/widget/widget.c
@@ -32,6 +32,7 @@ void widgetGetLocation(widget_t * p, int *x, int *y)
{
if (x != NULL)
*x = p->x;
+
if (y != NULL)
*y = p->y;
}
@@ -46,6 +47,7 @@ void widgetGetSize(widget_t * p, int *w, int *h)
{
if (w != NULL)
*w = p->w;
+
if (h != NULL)
*h = p->h;
}