diff options
author | reinelt <> | 2004-11-28 15:50:24 +0000 |
---|---|---|
committer | reinelt <> | 2004-11-28 15:50:24 +0000 |
commit | da0b35b5b6d5431b8a01373cd4fc0e40357dc6c5 (patch) | |
tree | f6ef63bb4cef935ac61b802535c1a858d5c6f44b /widget_icon.c | |
parent | 8d3ccbc84e9241443fbd513e876f02e049545fd8 (diff) | |
download | lcd4linux-da0b35b5b6d5431b8a01373cd4fc0e40357dc6c5.tar.gz |
[lcd4linux @ 2004-11-28 15:50:24 by reinelt]
Cwlinux fixes (invalidation of user-defined chars)
Diffstat (limited to 'widget_icon.c')
-rw-r--r-- | widget_icon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widget_icon.c b/widget_icon.c index 294a95e..f858ae5 100644 --- a/widget_icon.c +++ b/widget_icon.c @@ -1,4 +1,4 @@ -/* $Id: widget_icon.c,v 1.14 2004/06/26 12:05:00 reinelt Exp $ +/* $Id: widget_icon.c,v 1.15 2004/11/28 15:50:24 reinelt Exp $ * * icon widget handling * @@ -21,6 +21,9 @@ * * * $Log: widget_icon.c,v $ + * Revision 1.15 2004/11/28 15:50:24 reinelt + * Cwlinux fixes (invalidation of user-defined chars) + * * Revision 1.14 2004/06/26 12:05:00 reinelt * * uh-oh... the last CVS log message messed up things a lot... @@ -181,15 +184,12 @@ void widget_icon_update (void *Self) /* rotate icon bitmap */ Icon->curmap++; if (Icon->curmap >= Icon->maxmap) - Icon->curmap=0; + Icon->curmap = 0; /* finally, draw it! */ if (W->class->draw) W->class->draw(W); - /* store currently visible bitmap */ - Icon->prvmap=Icon->curmap; - /* add a new one-shot timer */ timer_add (widget_icon_update, Self, Icon->speed, 1); |