Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/src/lib


Modified Files:
        eet_lib.c 


Log Message:
true is everything but zero
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- eet_lib.c   26 May 2005 09:43:23 -0000      1.35
+++ eet_lib.c   26 May 2005 10:02:10 -0000      1.36
@@ -855,7 +855,7 @@
    /* 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 @@
        return 0;
      }
    /* if we want to compress */
-   if (compress == 1)
+   if (compress)
      {
        uLongf buflen;
        int ok;




-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to