summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-04-08 01:05:02 +0930
committerDaniel Jones <admin@danieljon.es>2020-04-08 01:05:02 +0930
commitfff30aa0b29c8ac812b7b3b131f0de2f7aa47b21 (patch)
tree782e5956be7b3056f5e7ec84383b37896e4d52e2
parent0e3933eb0c95a6bb3cfc78faa9d8299704c2a230 (diff)
downloadcsweeper-fff30aa0b29c8ac812b7b3b131f0de2f7aa47b21.tar.gz
csweeper-fff30aa0b29c8ac812b7b3b131f0de2f7aa47b21.zip
make flag capital
-rw-r--r--README2
-rw-r--r--csweeper.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index c4f55a2..22dd72f 100644
--- a/README
+++ b/README
@@ -1 +1,3 @@
Simple grid-based minesweeper for the terminal in C
+
+program running: https://danieljon.es/posts/media/post111_1.png
diff --git a/csweeper.c b/csweeper.c
index 63fa3eb..735e1c5 100644
--- a/csweeper.c
+++ b/csweeper.c
@@ -275,7 +275,7 @@ drawboard()
if (neighbormines == '0')
neighbormines = ' ';
if (tile->state & FLAGGED)
- printf(" f ");
+ printf(" F ");
else if (tile->state & HIDDEN)
printf(" . ");
else