aboutsummaryrefslogtreecommitdiffstats
path: root/widget_icon.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-11-28 15:50:24 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-11-28 15:50:24 +0000
commitb1946ed6796f73cbcff9f131337f2fc0f41205a5 (patch)
treef6ef63bb4cef935ac61b802535c1a858d5c6f44b /widget_icon.c
parent32a05394fc247a61c8927d66a8aea714bbdf1e42 (diff)
downloadlcd4linux-b1946ed6796f73cbcff9f131337f2fc0f41205a5.tar.gz
[lcd4linux @ 2004-11-28 15:50:24 by reinelt]
Cwlinux fixes (invalidation of user-defined chars) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@495 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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);