From 35084eaadf8b37f5c4a325f0d4b01767753ee9c3 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Sat, 15 Nov 2008 16:08:21 +0100 Subject: modification coding stile --- src/widget/widget.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widget/widget.c') 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; } -- cgit v1.2.3