Kevin,
Request modification of BCX STR$.
Current:
char *str(double d_, int nospc)
{
char *strtmp = BCX_TmpStr(24);
if (nospc)
sprintf(strtmp, "%.15G", d_);
else
sprintf(strtmp, "% .15G", d_);
return strtmp;
}
Request:
char *str(double d_, int nospc)
{
char *strtmp = BCX_TmpStr(24);
if (nospc)
snprintf(strtmp,23, "%.15G", d_);
else
snprintf(strtmp,23, "% .15G", d_);
return strtmp;
}
Reason:
The Unicode version ,swprintf, requires the buffer size.
You use a MAGIC number so there sould be no issues??
Thank you for your consideration.
James