summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/freecell.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/freecell.c b/bin/freecell.c
index e0c749d1..762b5552 100644
--- a/bin/freecell.c
+++ b/bin/freecell.c
@@ -232,17 +232,6 @@ static void drawCard(bool hi, int y, int x, Card card) {
 	if (!card) return;
 	move(y, x);
 	attr_set(hi ? A_REVERSE : A_NORMAL, (card & Color) ? 2 : 1, NULL);
-	switch (card & Rank) {
-		break; case A: addstr("A ");
-		break; case 10: addstr("10");
-		break; case J: addstr("J ");
-		break; case Q: addstr("Q ");
-		break; case K: addstr("K ");
-		break; default: {
-			addch('0' + (card & Rank));
-			addch(' ');
-		}
-	}
 	switch (card & Suit) {
 		break; case Club: addstr("\u2663");
 		break; case Diamond: addstr("\u2666");
@@ -250,6 +239,17 @@ static void drawCard(bool hi, int y, int x, Card card) {
 		break; case Heart: addstr("\u2665");
 		break; default:;
 	}
+	switch (card & Rank) {
+		break; case A: addstr(" A");
+		break; case 10: addstr("10");
+		break; case J: addstr(" J");
+		break; case Q: addstr(" Q");
+		break; case K: addstr(" K");
+		break; default: {
+			addch(' ');
+			addch('0' + (card & Rank));
+		}
+	}
 	attr_set(A_NORMAL, 0, NULL);
 }
 
td>June McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroeEnroe 2019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe When? Now. 2019-07-24Remove histedit from bitJune McEnroe