Remove reference to defsfont from low-level function

This commit is contained in:
Marcus Weseloh 2018-04-04 11:03:47 +02:00
parent 879a14163a
commit 167048f5a3

View file

@ -1350,7 +1350,7 @@ fixup_sample (SFData * sf)
int invalid_loopstart;
int invalid_loopend, loopend_end_mismatch;
unsigned int total_bytes = sf->samplesize;
unsigned int total_samples = total_bytes / FLUID_MEMBER_SIZE(fluid_defsfont_t, sampledata[0]);
unsigned int total_samples = total_bytes / sizeof(short);
p = sf->sample;
while (p)