diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-11-28 15:50:24 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-11-28 15:50:24 +0000 |
commit | b1946ed6796f73cbcff9f131337f2fc0f41205a5 (patch) | |
tree | f6ef63bb4cef935ac61b802535c1a858d5c6f44b /widget_icon.c | |
parent | 32a05394fc247a61c8927d66a8aea714bbdf1e42 (diff) | |
download | lcd4linux-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.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); |