From: Mikael Magnusson Date: Thu, 18 Apr 2013 11:10:29 +0000 (+0200) Subject: [0]. is confusing when it's not an array X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=refs%2Fheads%2Fwip%2Fedges;p=mikachu%2Fopenbox.git [0]. is confusing when it's not an array --- diff --git a/openbox/edges.c b/openbox/edges.c index 2b40619b..bc76ef87 100644 --- a/openbox/edges.c +++ b/openbox/edges.c @@ -58,8 +58,8 @@ static void get_position(ObEdgeLocation edge, Rect screen, Rect *rect) RECT_SET(*rect, 0, 0, CORNER_SIZE, CORNER_SIZE); break; } - rect[0].x += screen.x; - rect[0].y += screen.y; + rect->x += screen.x; + rect->y += screen.y; } void edges_startup(gboolean reconfigure)