From: Michael Buesch Date: Sat, 26 Jan 2008 14:26:59 +0000 (+0100) Subject: b43-dasm: Add a space char after comma to improve asm code readability. X-Git-Tag: b43-fwcutter-013~68 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=b62adc6403508668abebbfd34e53897fd168ee7a;p=b43-tools.git b43-dasm: Add a space char after comma to improve asm code readability. Signed-off-by: Michael Buesch --- diff --git a/disassembler/main.c b/disassembler/main.c index 7fc8536..8e6415e 100644 --- a/disassembler/main.c +++ b/disassembler/main.c @@ -643,7 +643,7 @@ static void emit_asm(struct disassembler_context *ctx) first = 1; for (i = 0; i < ARRAY_SIZE(stmt->u.insn.operands); i++) { if (stmt->u.insn.is_labelref == i) { - fprintf(outfile, ",%s", + fprintf(outfile, ", %s", stmt->u.insn.labelref->u.label.name); } if (!stmt->u.insn.operands[i]) @@ -651,7 +651,7 @@ static void emit_asm(struct disassembler_context *ctx) if (first) fprintf(outfile, "\t"); if (!first) - fprintf(outfile, ","); + fprintf(outfile, ", "); first = 0; fprintf(outfile, "%s", stmt->u.insn.operands[i]);