X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fhanoi.c;fp=test%2Fhanoi.c;h=25d906ea04a7f12e0b37160007012fb75d35b0a3;hb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1;hp=00e3b77dbb8d8f1103f49358901e45305d8c468a;hpb=3a9b6a3bf0269231bef7de74757a910dedd04e0c;p=ncurses.git diff --git a/test/hanoi.c b/test/hanoi.c index 00e3b77d..25d906ea 100644 --- a/test/hanoi.c +++ b/test/hanoi.c @@ -14,7 +14,7 @@ * * Date: 05.Nov.90 * - * $Id: hanoi.c,v 1.14 1997/05/06 23:07:55 tom Exp $ + * $Id: hanoi.c,v 1.15 1997/10/18 20:11:20 tom Exp $ */ #include @@ -191,7 +191,7 @@ InitTiles(int NTiles) static void DisplayTiles(void) { - int Line, Peg, SlotNo; + int Line, peg, SlotNo; char TileBuf[BUFSIZ]; erase(); @@ -212,16 +212,16 @@ DisplayTiles(void) attrset(A_NORMAL); /* Draw tiles */ - for(Peg=0; Peg