From e076a9524d7ea86d3508dcb33146cddc1a2ff553 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 8 Jun 2012 02:16:26 +0000 Subject: Fix typo in example code git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4816 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/nximage/nximage_bitmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/examples') diff --git a/apps/examples/nximage/nximage_bitmap.c b/apps/examples/nximage/nximage_bitmap.c index 6b0d13718..a7c304d31 100644 --- a/apps/examples/nximage/nximage_bitmap.c +++ b/apps/examples/nximage/nximage_bitmap.c @@ -1,8 +1,8 @@ /******************************************************************************************** * examples/nximage/nximage_bitmap.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -3683,7 +3683,7 @@ void nximage_blitrow(FAR nxgl_mxpixel_t *run, FAR const void **state) #if defined(CONFIG_EXAMPLES_NXIMAGE_XSCALEp5) || defined(CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5) nhalfpixels += nrun & 1; #ifdef CONFIG_EXAMPLES_NXIMAGE_XSCALEp5 - nrum >>= 1; + nrun >>= 1; #else nrun = nrun + (nrun >> 1); #endif -- cgit v1.2.3