summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-05-28 01:11:11 +0200
committerWolfgang Denk <wd@denx.de>2007-05-28 01:11:11 +0200
commit19bf91f9628f80a55d4f171df71041574882b3d6 (patch)
tree14fd9ebacffd43564eaf014997baacea39abde2c /common
parent7d075ee1d8cfcab9dd5b356816f17d013498cc62 (diff)
parent7049288fb1f16f1b317140226cdebd07bd416395 (diff)
downloadu-boot-imx-19bf91f9628f80a55d4f171df71041574882b3d6.zip
u-boot-imx-19bf91f9628f80a55d4f171df71041574882b3d6.tar.gz
u-boot-imx-19bf91f9628f80a55d4f171df71041574882b3d6.tar.bz2
Merge with /home/tur/git/u-boot#motionpro
Diffstat (limited to 'common')
-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",