From a4039b1e8ca4dabd8a1a8dce9cd01dddc99c80b7 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 19 Apr 2021 19:51:17 -0400 Subject: Draw foundations in reverse order --- freecell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freecell.c b/freecell.c index 45aff26..872009a 100644 --- a/freecell.c +++ b/freecell.c @@ -293,7 +293,7 @@ static void draw(void) { char key; if (i < Cell) { y = FoundationY; - x = FoundationX + (i-Foundation) * (CardWidth+Padding); + x = FoundationX + (3-(i-Foundation)) * (CardWidth+Padding); key = '_'; } else if (i < Tableau) { y = CellY; -- cgit 1.4.1