projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae167ec
)
true is everything but zero
author
tsauerbeck
<tsauerbeck>
Thu, 26 May 2005 10:02:10 +0000
(10:02 +0000)
committer
tsauerbeck
<tsauerbeck@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 May 2005 10:02:10 +0000
(10:02 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@14948
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eet_lib.c
patch
|
blob
|
history
diff --git
a/src/lib/eet_lib.c
b/src/lib/eet_lib.c
index
c7d369b
..
e06721e
100644
(file)
--- a/
src/lib/eet_lib.c
+++ b/
src/lib/eet_lib.c
@@
-855,7
+855,7
@@
eet_write(Eet_File *ef, char *name, void *data, int size, int compress)
/* dup data */
data_size = size;
/* have bigger buffer for compress */
- if (compress
== 1
) data_size = 12 + ((size * 101) / 100);
+ if (compress) data_size = 12 + ((size * 101) / 100);
data2 = malloc(data_size);
if (!data2)
{
@@
-863,7
+863,7
@@
eet_write(Eet_File *ef, char *name, void *data, int size, int compress)
return 0;
}
/* if we want to compress */
- if (compress
== 1
)
+ if (compress)
{
uLongf buflen;
int ok;