diff options
author | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-08-13 18:45:25 +0000 |
---|---|---|
committer | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-08-13 18:45:25 +0000 |
commit | 1e0c4359a63a0492dce3a1e990d8938e8d0b5147 (patch) | |
tree | 962db3ef9a548de3ab873f427d16f1548b9fd530 /plugin_kvv.c | |
parent | 763788fd716a2c8f5064c913d35d10973c621ef9 (diff) | |
download | lcd4linux-1e0c4359a63a0492dce3a1e990d8938e8d0b5147.tar.gz |
[lcd4linux @ 2006-08-13 18:45:25 by harbaum]
Little cleanup ...
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@693 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_kvv.c')
-rw-r--r-- | plugin_kvv.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/plugin_kvv.c b/plugin_kvv.c index 9db6674..ec068da 100644 --- a/plugin_kvv.c +++ b/plugin_kvv.c @@ -1,4 +1,4 @@ -/* $Id: plugin_kvv.c,v 1.1 2006/08/13 18:14:03 harbaum Exp $ +/* $Id: plugin_kvv.c,v 1.2 2006/08/13 18:45:25 harbaum Exp $ * * plugin kvv (karlsruher verkehrsverbund) * @@ -23,6 +23,9 @@ * * * $Log: plugin_kvv.c,v $ + * Revision 1.2 2006/08/13 18:45:25 harbaum + * Little cleanup ... + * * Revision 1.1 2006/08/13 18:14:03 harbaum * Added KVV plugin * @@ -576,7 +579,7 @@ static void kvv_line(RESULT * result, RESULT * arg1) if (index < shm->entries) { SetResult(&result, R_STRING, shm->entry[index].line); } else - SetResult(&result, R_STRING, "---"); + SetResult(&result, R_STRING, ""); mutex_unlock(mutex); } @@ -590,7 +593,7 @@ static void kvv_station(RESULT * result, RESULT * arg1) if (index < shm->entries) SetResult(&result, R_STRING, shm->entry[index].station); else - SetResult(&result, R_STRING, "---"); + SetResult(&result, R_STRING, ""); mutex_unlock(mutex); } @@ -621,7 +624,7 @@ static void kvv_time_str(RESULT * result, RESULT * arg1) sprintf(str, "%d", shm->entry[index].time); SetResult(&result, R_STRING, str); } else - SetResult(&result, R_STRING, "---"); + SetResult(&result, R_STRING, ""); mutex_unlock(mutex); } |