Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_object_main.c 


Log Message:
Fix typo!

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_main.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- evas_object_main.c  26 May 2008 13:24:24 -0000      1.68
+++ evas_object_main.c  28 May 2008 18:00:04 -0000      1.69
@@ -654,7 +654,7 @@
    MAGIC_CHECK_END();
    if (obj->delete_me)
      return;
-   if (obj->size_hints)
+   if (!obj->size_hints)
      obj->size_hints = calloc(1, sizeof(*obj->size_hints));
 
    obj->size_hints->min.w = w;
@@ -712,7 +712,7 @@
    MAGIC_CHECK_END();
    if (obj->delete_me)
      return;
-   if (obj->size_hints)
+   if (!obj->size_hints)
      obj->size_hints = calloc(1, sizeof(*obj->size_hints));
 
    obj->size_hints->max.w = w;
@@ -770,7 +770,8 @@
    MAGIC_CHECK_END();
    if (obj->delete_me)
      return;
-   if (obj->size_hints) obj->size_hints = calloc(1, sizeof(*obj->size_hints));
+   if (!obj->size_hints)
+     obj->size_hints = calloc(1, sizeof(*obj->size_hints));
 
    obj->size_hints->request.w = w;
    obj->size_hints->request.h = h;
@@ -832,7 +833,7 @@
    MAGIC_CHECK_END();
    if (obj->delete_me)
      return;
-   if (obj->size_hints)
+   if (!obj->size_hints)
      obj->size_hints = calloc(1, sizeof(*obj->size_hints));
 
    obj->size_hints->aspect.mode = aspect;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to