this was for sure a bug -> it should be x instead of y
authorAndreas Volz <linux@brachttal.net>
Sun, 27 Jun 2010 20:27:20 +0000 (20:27 +0000)
committerAndreas Volz <linux@brachttal.net>
Sun, 27 Jun 2010 20:27:20 +0000 (20:27 +0000)
SVN revision: 49907

src/bin/e_zone.c

index be14afc..9a3289c 100644 (file)
@@ -965,8 +965,8 @@ _e_zone_useful_geometry_calc(E_Zone *zone)
           case E_GADCON_ORIENT_RIGHT:
           case E_GADCON_ORIENT_CORNER_RT:
           case E_GADCON_ORIENT_CORNER_RB:
-             if (y1 > zone->w - shelf->w)
-               y1 = zone->w - shelf->w;
+             if (x1 > zone->w - shelf->w)
+               x1 = zone->w - shelf->w;
              break;
          }
      }