Fix boneheaded bug in lib70x code.
This commit is contained in:
parent
2687133fe7
commit
f8dc40cf90
|
@ -48,7 +48,7 @@
|
|||
|
||||
*/
|
||||
|
||||
#define LIB_VERSION "0.7.1"
|
||||
#define LIB_VERSION "0.7.2"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
@ -205,7 +205,7 @@ int CColorConv3D_Get3DColorTable(uint8_t *buf, const char *filename)
|
|||
return 5;
|
||||
}
|
||||
fseek(stream, 0, SEEK_SET);
|
||||
rval = fread(buf, 1, LUT_LEN, stream);
|
||||
rval = fread(buf, LUT_LEN, 1, stream);
|
||||
fclose(stream);
|
||||
|
||||
return (rval != 1);
|
||||
|
|
Loading…
Reference in New Issue