aboutsummaryrefslogtreecommitdiffstats
path: root/widget_icon.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-07-18 03:11:04 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-07-18 03:11:04 +0000
commit1be5ce2c6de9319db103ef454e4639966646f999 (patch)
treef084aa836b4ea268ca44472c33ee4adf0beea3f2 /widget_icon.c
parent8501fae399020dd2fbf944ac70eeee637217f2d7 (diff)
downloadlcd4linux-1be5ce2c6de9319db103ef454e4639966646f999.tar.gz
indent run
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1037 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_icon.c')
-rw-r--r--widget_icon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget_icon.c b/widget_icon.c
index c785389..2af2b1d 100644
--- a/widget_icon.c
+++ b/widget_icon.c
@@ -104,14 +104,14 @@ void widget_icon_update(void *Self)
property_eval(&Icon->frame);
int frame = P2N(&Icon->frame);
- if ( (frame >= 0) && (frame <= Icon->maxmap) ) {
+ if ((frame >= 0) && (frame <= Icon->maxmap)) {
/* select icon bitmap by evaluated frame number */
Icon->curmap = frame;
} else {
/* rotate icon bitmap */
Icon->curmap++;
if (Icon->curmap >= Icon->maxmap)
- Icon->curmap = 0;
+ Icon->curmap = 0;
}
}