aboutsummaryrefslogtreecommitdiffstats
path: root/drv_PICGraphic.c
diff options
context:
space:
mode:
authormjona <mjona@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-03-26 13:24:37 +0000
committermjona <mjona@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-03-26 13:24:37 +0000
commit13c974ad615ac560569f20b361e82bae98ac77fc (patch)
tree57d3f90d58fdf81a384eb756052b75c79385e001 /drv_PICGraphic.c
parent3ede2a57df6a1c2324b4b611bd5f2fd5a3c6567e (diff)
downloadlcd4linux-13c974ad615ac560569f20b361e82bae98ac77fc.tar.gz
Fixed realloc error handling in timer_group.c; changed the interval member in the TIMER_GROUP structure from int* to int.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1185 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_PICGraphic.c')
-rw-r--r--drv_PICGraphic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_PICGraphic.c b/drv_PICGraphic.c
index 5138ece..d3daba3 100644
--- a/drv_PICGraphic.c
+++ b/drv_PICGraphic.c
@@ -203,7 +203,7 @@ static void drv_PICGraphic_blit(const int row, const int col, const int height,
delayDone = 0;
int row8, height8;
row8 = 8 * (row / 8);
- height8 = 8 * (height / 8) + ! !(height % 8);
+ height8 = 8 * (height / 8) + !!(height % 8);
info("sending blit");
cmd[0] = 'b';
cmd[1] = row8;