enhanced hcl_inttostr() to keep results in the temporary buffer when ngc is negative.
changed the integer printing function to utilize this change in print.c
This commit is contained in:
@ -236,6 +236,7 @@ void hcl_fini (hcl_t* hcl)
|
||||
hcl_freemem (hcl, hcl->inttostr.xbuf.ptr);
|
||||
hcl->inttostr.xbuf.ptr = HCL_NULL;
|
||||
hcl->inttostr.xbuf.capa = 0;
|
||||
hcl->inttostr.xbuf.len = 0;
|
||||
}
|
||||
|
||||
if (hcl->inttostr.t.ptr)
|
||||
|
||||
Reference in New Issue
Block a user