summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-06-04 08:17:29 +0200
committerStefan Roese <sr@denx.de>2007-06-04 08:17:29 +0200
commitd7d5204ce2e0985ff2dfdf3a6b5b6a526cdb1c1e (patch)
treec71da8013140d7bd5024dcde5f9cd075d4c012e2 /common/main.c
parent7ebb4479b07ff294eb4d76e420753a0349f7c93b (diff)
parent19bf91f9628f80a55d4f171df71041574882b3d6 (diff)
downloadu-boot-imx-d7d5204ce2e0985ff2dfdf3a6b5b6a526cdb1c1e.zip
u-boot-imx-d7d5204ce2e0985ff2dfdf3a6b5b6a526cdb1c1e.tar.gz
u-boot-imx-d7d5204ce2e0985ff2dfdf3a6b5b6a526cdb1c1e.tar.bz2
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index d8c0054..09ee64b 100644
--- a/common/main.c
+++ b/common/main.c
@@ -1191,6 +1191,8 @@ static void process_macros (const char *input, char *output)
if (outputcnt)
*output = 0;
+ else
+ *(output - 1) = 0;
#ifdef DEBUG_PARSER
printf ("[PROCESS_MACROS] OUTPUT len %d: \"%s\"\n",