summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-19 19:51:17 -0400
committerJune McEnroe <june@causal.agency>2021-04-26 17:33:20 -0400
commit14574b92cbe76320d2864c043b48675446436396 (patch)
tree9aff26838e3afc96ad3fec2ed6d797e6d20cfe27 /bin
parentOnly use cells for moveColumn (diff)
downloadsrc-14574b92cbe76320d2864c043b48675446436396.tar.gz
src-14574b92cbe76320d2864c043b48675446436396.zip
Draw foundations in reverse order
Diffstat (limited to 'bin')
-rw-r--r--bin/freecell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/freecell.c b/bin/freecell.c
index 7c0f9ee6..fbc0fe22 100644
--- a/bin/freecell.c
+++ b/bin/freecell.c
@@ -284,7 +284,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;