chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e2690
)
Fix a comment in Tents (it said 'tents' instead of 'trees').
author
Jonas Kölker
<jonaskoelker@yahoo.com>
Sun, 18 Oct 2015 19:05:11 +0000
(21:05 +0200)
committer
Simon Tatham
<anakin@pobox.com>
Wed, 21 Oct 2015 21:03:04 +0000
(22:03 +0100)
tents.c
patch
|
blob
|
history
diff --git
a/tents.c
b/tents.c
index 6ad71ef3e186477f4bfff40c23d24b7072f86c30..0d1483975b846fe8f825c7592a669bd1dc83950a 100644
(file)
--- a/
tents.c
+++ b/
tents.c
@@
-1063,7
+1063,7
@@
static char *new_game_desc(const game_params *params_in, random_state *rs,
j = maxflow(w*h+2, w*h+1, w*h, nedges, edges, capacity, flow, NULL);
if (j < ntrees)
- continue; /* couldn't place all the t
ent
s */
+ continue; /* couldn't place all the t
ree
s */
/*
* We've placed the trees. Now we need to work out _where_