diff options
Diffstat (limited to 'lib/libncurses/TESTS/hanoi.c')
-rw-r--r-- | lib/libncurses/TESTS/hanoi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncurses/TESTS/hanoi.c b/lib/libncurses/TESTS/hanoi.c index e7da51d..bf44cc4 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; |