projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4013160
)
Fixed up a compiler warning.
author
Andreas Schulz
<ats@g386bsd.first.bmd.de>
Sat, 4 Dec 1993 01:53:16 +0000
(
01:53
+0000)
committer
Andreas Schulz
<ats@g386bsd.first.bmd.de>
Sat, 4 Dec 1993 01:53:16 +0000
(
01:53
+0000)
games/worm/worm.c
patch
|
blob
|
blame
|
history
diff --git
a/games/worm/worm.c
b/games/worm/worm.c
index
65a7423
..
b5d310d
100644
(file)
--- a/
games/worm/worm.c
+++ b/
games/worm/worm.c
@@
-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++;