only write 0 or 1 to the header though for the compression flag

SVN revision: 14949
This commit is contained in:
tsauerbeck 2005-05-26 10:03:03 +00:00 committed by tsauerbeck
parent 6fec921778
commit 27a62c33a5
1 changed files with 1 additions and 1 deletions

View File

@ -904,7 +904,7 @@ eet_write(Eet_File *ef, char *name, void *data, int size, int compress)
if (eet_string_match(efn->name, name))
{
free(efn->data);
efn->compression = compress;
efn->compression = !!compress;
efn->size = data_size;
efn->data_size = size;
efn->data = data2;