aboutsummaryrefslogtreecommitdiffstats
path: root/widget_icon.c
diff options
context:
space:
mode:
authorreinelt <>2004-11-28 15:50:24 +0000
committerreinelt <>2004-11-28 15:50:24 +0000
commitda0b35b5b6d5431b8a01373cd4fc0e40357dc6c5 (patch)
treef6ef63bb4cef935ac61b802535c1a858d5c6f44b /widget_icon.c
parent8d3ccbc84e9241443fbd513e876f02e049545fd8 (diff)
downloadlcd4linux-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.c10
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);