mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
Bigint toHex: Remove duplicate buffer
This commit is contained in:
parent
18cdcdc298
commit
80c64d92e4
1 changed files with 2 additions and 2 deletions
|
@ -408,8 +408,8 @@ public:
|
||||||
sink("-");
|
sink("-");
|
||||||
if (formatString.length>0 && formatString[$-1]=='x' || formatString[$-1]=='X')
|
if (formatString.length>0 && formatString[$-1]=='x' || formatString[$-1]=='X')
|
||||||
{
|
{
|
||||||
char[] buff = data.toHexString(1, '_');
|
char[] buff = data.toHexString(0, '_');
|
||||||
sink(data.toHexString(0, '_'));
|
sink(buff);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue