diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /games/robots | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Release FreeBSD 1.1upstream/1.1.0_cvsrelease/1.1.0_cvs
This commit was manufactured to restore the state of the 1.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'games/robots')
| -rw-r--r-- | games/robots/move.c | 6 | ||||
| -rw-r--r-- | games/robots/robots.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/games/robots/move.c b/games/robots/move.c index 793644407442..8da28376873f 100644 --- a/games/robots/move.c +++ b/games/robots/move.c @@ -169,13 +169,13 @@ teleport: refresh(); flush_in(); goto ret; - case CTRL(L): + case CTRL('L'): wrefresh(curscr); break; case EOF: break; default: - putchar(CTRL(G)); + putchar(CTRL('G')); reset_count(); fflush(stdout); break; @@ -240,7 +240,7 @@ int dy, dx; refresh(); } else { - putchar(CTRL(G)); + putchar(CTRL('G')); reset_count(); } return FALSE; diff --git a/games/robots/robots.h b/games/robots/robots.h index cafea70379ee..7f692b7d3d1f 100644 --- a/games/robots/robots.h +++ b/games/robots/robots.h @@ -69,7 +69,7 @@ */ # undef CTRL -# define CTRL(X) ('X' - 'A' + 1) +# define CTRL(X) ((X) - 'A' + 1) /* * type definitions |
