From b8987aac39d644c5cecadfd3ea14f3ebb80f13ee Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Thu, 17 May 2012 01:12:28 +0100 Subject: Import upstream version 0.11.0~svn1188 --- drv_PICGraphic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drv_PICGraphic.c') diff --git a/drv_PICGraphic.c b/drv_PICGraphic.c index 11c8e3a..f074ff7 100644 --- a/drv_PICGraphic.c +++ b/drv_PICGraphic.c @@ -1,4 +1,4 @@ -/* $Id: drv_PICGraphic.c 1153 2011-07-27 05:12:30Z michael $ +/* $Id: drv_PICGraphic.c 1185 2012-03-26 13:24:37Z mjona $ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_PICGraphic.c $ * * PICGraphic lcd4linux driver @@ -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; -- cgit v1.2.3