mirror of
https://github.com/acpica/acpica/
synced 2025-04-01 11:02:59 +03:00
Disassembler: Eliminate extra spaces in buffer disassembly.
Remove extra space at the end of each buffer data output line.
This commit is contained in:
parent
7acf57cb95
commit
49d8d601c1
@ -180,19 +180,19 @@ AcpiDmDisasmByteList (
|
|||||||
}
|
}
|
||||||
|
|
||||||
AcpiDmIndent (Level);
|
AcpiDmIndent (Level);
|
||||||
if (ByteCount > 7)
|
if (ByteCount > 8)
|
||||||
{
|
{
|
||||||
AcpiOsPrintf ("/* %04X */ ", i);
|
AcpiOsPrintf ("/* %04X */ ", i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiOsPrintf ("0x%2.2X", (UINT32) ByteData[i]);
|
AcpiOsPrintf (" 0x%2.2X", (UINT32) ByteData[i]);
|
||||||
|
|
||||||
/* Add comma if there are more bytes to display */
|
/* Add comma if there are more bytes to display */
|
||||||
|
|
||||||
if (i < (ByteCount -1))
|
if (i < (ByteCount -1))
|
||||||
{
|
{
|
||||||
AcpiOsPrintf (", ");
|
AcpiOsPrintf (",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user