From b62adc6403508668abebbfd34e53897fd168ee7a Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Sat, 26 Jan 2008 15:26:59 +0100 Subject: [PATCH] b43-dasm: Add a space char after comma to improve asm code readability. Signed-off-by: Michael Buesch --- disassembler/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); -- 2.31.1