From 086efc834d511d771a996f895c73d35ca020b1d6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 23 Feb 2011 02:08:33 +0000 Subject: Fix getopt bug git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3310 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/drivers/lcd/nokia6100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/drivers/lcd/nokia6100.c') diff --git a/nuttx/drivers/lcd/nokia6100.c b/nuttx/drivers/lcd/nokia6100.c index e8cac7e96..d450e05db 100755 --- a/nuttx/drivers/lcd/nokia6100.c +++ b/nuttx/drivers/lcd/nokia6100.c @@ -2,7 +2,7 @@ * drivers/lcd/nokia6100.c * Nokia 6100 LCD Display Driver * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * References: @@ -928,7 +928,7 @@ static int nokia_putrun(fb_coord_t row, fb_coord_t col, FAR const uint8_t *buffe #if NOKIA_XBIAS > 0 col += NOKIA_XBIAS; #endif -#if NOKIA_XBIAS > 0 +#if NOKIA_YBIAS > 0 row += NOKIA_YBIAS; #endif DEBUGASSERT(buffer && col >=0 && (col + npixels) <= NOKIA_XRES && row >= 0 && row < NOKIA_YRES); -- cgit v1.2.3