diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-22 07:57:45 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-22 07:57:45 +0000 |
commit | 4c88d373fbdae381318e6e5da9c88e5de98d7f7a (patch) | |
tree | 13a5b0ebc7c53e2f7214969f601e62161020a899 /widget_text.c | |
parent | 157395d9d4247afc971477497dcc51ef5441e660 (diff) | |
download | lcd4linux-4c88d373fbdae381318e6e5da9c88e5de98d7f7a.tar.gz |
[lcd4linux @ 2004-01-22 07:57:45 by reinelt]
several bugs fixed where segfaulting on layout>display
Crystalfontz driver optimized, 632 display already works
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@334 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | widget_text.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/widget_text.c b/widget_text.c index aa30eec..f20105c 100644 --- a/widget_text.c +++ b/widget_text.c @@ -1,4 +1,4 @@ -/* $Id: widget_text.c,v 1.7 2004/01/20 04:51:39 reinelt Exp $ +/* $Id: widget_text.c,v 1.8 2004/01/22 07:57:45 reinelt Exp $ * * simple text widget handling * @@ -21,6 +21,10 @@ * * * $Log: widget_text.c,v $ + * Revision 1.8 2004/01/22 07:57:45 reinelt + * several bugs fixed where segfaulting on layout>display + * Crystalfontz driver optimized, 632 display already works + * * Revision 1.7 2004/01/20 04:51:39 reinelt * moved generic stuff from drv_MatrixOrbital to drv_generic * implemented new-stylish bars which are nearly finished @@ -178,7 +182,7 @@ void widget_text_update (void *Self) int update; // evaluate prefix - if (T->prefix!=NULL && strlen(T->prefix)>0) { + if (T->prefix!=NULL && *(T->prefix)!='\0') { Eval(T->prefix, &result); preval=strdup(R2S(&result)); DelResult (&result); |