From ae5023326e35d033f9273ba9c056c161028237e6 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 18 Apr 2013 13:10:29 +0200 Subject: [PATCH] [0]. is confusing when it's not an array --- openbox/edges.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.34.1