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:
62c2049
)
Forgot to set 'has_incentre' on triangular grids, which don't use
author
Simon Tatham
<anakin@pobox.com>
Mon, 25 Apr 2011 22:41:54 +0000
(22:41 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Mon, 25 Apr 2011 22:41:54 +0000
(22:41 +0000)
grid_face_add_new(). Oops.
[originally from svn r9161]
grid.c
patch
|
blob
|
history
diff --git
a/grid.c
b/grid.c
index f7c6a5c0d5cfdc78e886a895ad84113240d73a8e..d73e521d18bcff3316a8e50924e76c69f67d3ffb 100644
(file)
--- a/
grid.c
+++ b/
grid.c
@@
-1559,9
+1559,11
@@
grid *grid_new_triangular(int width, int height, char *desc)
f1->edges = NULL;
f1->order = 3;
f1->dots = snewn(f1->order, grid_dot*);
+ f1->has_incentre = FALSE;
f2->edges = NULL;
f2->order = 3;
f2->dots = snewn(f2->order, grid_dot*);
+ f2->has_incentre = FALSE;
/* face descriptions depend on whether the row-number is
* odd or even */