diff --git a/libs/Graphics.c b/libs/Graphics.c index 29e7b36a9..6f6bb9535 100644 --- a/libs/Graphics.c +++ b/libs/Graphics.c @@ -125,7 +125,7 @@ void do_relieve_rectangle_with_rotation( if (rotation == ROTATION_90 || rotation == ROTATION_270) { /* Vertical titlebars move the "highlight" 90 degrees */ - /* bottom */ + /* top */ for (i = 0; i < max_h; i++) { seg[i].x1 = x+i+l; seg[i].y1 = y+i; seg[i].x2 = x+w-1-i+l; seg[i].y2 = y+i; @@ -146,7 +146,7 @@ void do_relieve_rectangle_with_rotation( seg[i].x2 = x+i; seg[i].y2 = y+h-1-i+a; } cur = i; - /* top */ + /* bottom */ for (i = 0; i < max_h; i++, cur++) { seg[cur].x1 = x+i+a; seg[cur].y1 = y+h-i; seg[cur].x2 = x+w-1-i+a; seg[cur].y2 = y+h-i;