summaryrefslogtreecommitdiff
path: root/lib/libncurses/TESTS/hanoi.c
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commit6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libncurses/TESTS/hanoi.c
parenta2f0036ac41fe46dd47d6339982567f19437ade9 (diff)
Notes
Diffstat (limited to 'lib/libncurses/TESTS/hanoi.c')
-rw-r--r--lib/libncurses/TESTS/hanoi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncurses/TESTS/hanoi.c b/lib/libncurses/TESTS/hanoi.c
index e7da51d2fa6c..bf44cc48cc61 100644
--- a/lib/libncurses/TESTS/hanoi.c
+++ b/lib/libncurses/TESTS/hanoi.c
@@ -153,10 +153,10 @@ void
InitTiles(int NTiles)
{
int Size, SlotNo;
-
+
for(Size=NTiles*2+1, SlotNo=0; Size>=3; Size-=2)
Pegs[0].Length[SlotNo++] = Size;
-
+
Pegs[0].Count = NTiles;
Pegs[1].Count = 0;
Pegs[2].Count = 0;