Fixed up a compiler warning.
authorAndreas Schulz <ats@g386bsd.first.bmd.de>
Sat, 4 Dec 1993 01:53:16 +0000 (01:53 +0000)
committerAndreas Schulz <ats@g386bsd.first.bmd.de>
Sat, 4 Dec 1993 01:53:16 +0000 (01:53 +0000)
games/worm/worm.c

index 65a7423..b5d310d 100644 (file)
@@ -210,7 +210,7 @@ char ch;
        y = head->y;
        switch(ch)
        {
        y = head->y;
        switch(ch)
        {
-               when 'h': x--;
+               case 'h': x--;
                when 'j': y++;
                when 'k': y--;
                when 'l': x++;
                when 'j': y++;
                when 'k': y--;
                when 'l': x++;