From a79abad8aa93b3f554befa493ec7a6ca75e35818 Mon Sep 17 00:00:00 2001 From: marschap Date: Sat, 21 Oct 2006 20:35:50 +0000 Subject: [PATCH] fix iMon hbar --- ChangeLog | 2 +- server/drivers/imon.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8a048e8..1261f71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,7 +10,7 @@ v.0.5dev (ongoing development) * refactor adv_bignum: support height > 4, loadable chars with offset * ged rid of global variables buffer & tmp in lcdproc client + add init-script templates for LSB 3.x conforming systems - * fix cellwidth in iMon driver + * fix cellwidth & hbar in iMon driver v.0.5.1 + config file support in lcdproc client (Andrew Foss) diff --git a/server/drivers/imon.c b/server/drivers/imon.c index e2dbe5b..80a8626 100644 --- a/server/drivers/imon.c +++ b/server/drivers/imon.c @@ -277,7 +277,7 @@ MODULE_EXPORT void imon_hbar (Driver *drvthis, int x, int y, int len, int promil ; // write nothing (not even a space) } - pixels -= p->cellwidth * pos; + pixels -= p->cellwidth; } }