From 128a73342856217e98a5da64b2805e062fd4e00d Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 23 Jun 2009 22:39:47 +0000 Subject: - Fixes '&&' whitespace - Replace ')\(&&\)(' with ') \1 ('. - Replace '\(\w\)\(&&\)(' with '\1 \2 ('. - Replace '\(\w\)\(&&\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2366 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/image.c') diff --git a/src/target/image.c b/src/target/image.c index 45107b48..2ce03b82 100644 --- a/src/target/image.c +++ b/src/target/image.c @@ -81,7 +81,7 @@ static int autodetect_image_type(image_t *image, char *url) &&(isxdigit(buffer[5])) &&(isxdigit(buffer[6])) &&(buffer[7]=='0') /* record type : 00 -> 05 */ - &&(buffer[8]>='0')&&(buffer[8]<'6')) + &&(buffer[8]>='0') && (buffer[8]<'6')) { LOG_DEBUG("IHEX image detected."); image->type = IMAGE_IHEX; -- cgit v1.2.3