Floats and doubles are now written out correctly.

This commit is contained in:
David Given 2016-11-19 11:39:13 +01:00
parent db3564f35a
commit cc660b230f

View file

@ -85,7 +85,7 @@ void data_float(const char* data, size_t size, bool is_ro)
for (i=1; i<size; i++)
{
fprintf(outputfile, ", ");
writehex(buffer[0], 1);
writehex(buffer[i], 1);
}
fprintf(outputfile, "\n");
}