diff options
| author | Michal Zima <xhire@tuxportal.cz> | 2009-07-16 13:07:51 +0200 |
|---|---|---|
| committer | Michal Zima <xhire@tuxportal.cz> | 2009-07-16 13:07:51 +0200 |
| commit | 37880070ae525a0b5b23c711bf3f612ea15cd537 (patch) | |
| tree | 576866c973a96219526336176844207724cec677 /src/widget/widget_choicegroup.c | |
| parent | d0c088655af27e2e66b164c061e48a5f5bd28f05 (diff) | |
Fixed code style
Diffstat (limited to 'src/widget/widget_choicegroup.c')
| -rw-r--r-- | src/widget/widget_choicegroup.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/widget/widget_choicegroup.c b/src/widget/widget_choicegroup.c index d325d1b..2c3338f 100644 --- a/src/widget/widget_choicegroup.c +++ b/src/widget/widget_choicegroup.c @@ -20,7 +20,8 @@ widget_t *choice_group_new(int x, int y, bool_t status, list_t *list, void (*fce new->fce_event = fce_event; new->list = list; - widget = widget_new(WIDGET_TYPE_CHOICE, x, y, WIDGET_CHOICEGROUP_WIDTH, WIDGET_CHOICEGROUP_HEIGHT, new); + widget = widget_new(WIDGET_TYPE_CHOICE, x, y, WIDGET_CHOICEGROUP_WIDTH, + WIDGET_CHOICEGROUP_HEIGHT, new); list_add(new->list, widget); @@ -116,7 +117,10 @@ void choice_group_event(widget_t *widget) return; } - if (mouse_buffer_is_on_area(widget->x, widget->y, WIDGET_CHOICEGROUP_WIDTH, WIDGET_CHOICEGROUP_HEIGHT, MOUSE_BUF_CLICK)) { + if (mouse_buffer_is_on_area(widget->x, widget->y, + WIDGET_CHOICEGROUP_WIDTH, + WIDGET_CHOICEGROUP_HEIGHT, + MOUSE_BUF_CLICK)) { choice_group_set_active(widget); } } |