avoid leading space when printing commands

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1453 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 16 years ago
parent 04d9eea803
commit d954394b07

@ -1,3 +1,7 @@
2009-03-08 Arnim Laeuger <arniml>
* src/bsdl/bsdl_sem.c: avoid leading space when printing commands
2009-03-07 Arnim Laeuger <arniml>
* data/ti/tnetv1060/tnetv1060, data/ti/tnetv1061/tnetv1061:

@ -61,7 +61,7 @@ static void print_cmd(char **cmd)
char *elem;
while ((elem = cmd[idx])) {
printf(" %s", elem);
printf("%s%s", idx > 0 ? " ": "", elem);
idx++;
}
printf("\n");

Loading…
Cancel
Save