diff options
author | aiju <aiju@phicode.de> | 2012-08-25 22:38:32 +0200 |
---|---|---|
committer | aiju <aiju@phicode.de> | 2012-08-25 22:38:32 +0200 |
commit | 69f5a04ac39f63f0b16df41cc268b3227b5cac99 (patch) | |
tree | 113b6fd542bf5576fe7af41b8eb1938f6a1d5ef9 | |
parent | 9cab16b4269a531fde38d797285ccde21cfe60fb (diff) | |
download | plan9front-69f5a04ac39f63f0b16df41cc268b3227b5cac99.tar.xz |
games/gb: del instead of f12/o
-rw-r--r-- | sys/src/games/gb/gb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/games/gb/gb.c b/sys/src/games/gb/gb.c index bdeb9bbd8..e1edd9043 100644 --- a/sys/src/games/gb/gb.c +++ b/sys/src/games/gb/gb.c @@ -178,7 +178,7 @@ keyproc(void *) if(read(fd, buf, 256) <= 0) sysfatal("read /dev/kbd: %r"); if(buf[0] == 'c'){ - if(utfrune(buf, KF|12) || utfrune(buf, 'o')) + if(utfrune(buf, Kdel)) threadexitsall(nil); if(utfrune(buf, KF|5)) savereq = 1; @@ -199,7 +199,7 @@ keyproc(void *) qlock(&pauselock); paused = !paused; break; - case KF|12: + case Kdel: threadexitsall(nil); case Kdown: keys |= 1<<3; |