From: tsauerbeck Date: Sun, 31 Oct 2004 11:21:30 +0000 (+0000) Subject: how the fuck did this get in unnoticed? maybe actually read the warnings cc spits... X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~976 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=846ff6b93635a4ee29853dbd4cefab5c423d147f;p=profile%2Fivi%2Feet.git how the fuck did this get in unnoticed? maybe actually read the warnings cc spits out? git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@12107 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index 94df47d..b97c6fb 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -900,7 +900,7 @@ eet_write(Eet_File *ef, char *name, void *data, int size, int compress) memcpy(data2, data, size); /* Does this node already exist? */ - if (ef->mode = EET_FILE_MODE_RW) + if (ef->mode == EET_FILE_MODE_RW) { int i; for (i = 0; i < node_size; i++)