Project

General

Profile

Bug #1507 ยป backgammon.diff

uqs, 09/14/2009 01:12 PM

View differences:

games/backgammon/common_source/save.c
writel (prompt);
fs = fname;
while ((*fs = readc()) != '\n') {
if (*fs == tty.c_cc[2]) {
if (*fs == tty.c_cc[VERASE]) {
if (fs > fname) {
fs--;
if (tflag)
games/backgammon/common_source/table.c
}
}
if (c == tty.c_cc[2] && ncin > 0) {
if (c == tty.c_cc[VERASE] && ncin > 0) {
if (tflag)
curmove (curr,curc-1);
else {
if (tty.c_cc[2] == '\010')
if (tty.c_cc[VERASE] == '\010')
writel ("\010 \010");
else
writec (cin[ncin-1]);
......
goto domove;
}
if (c == tty.c_cc[3] && ncin > 0) {
if (c == tty.c_cc[VKILL] && ncin > 0) {
if (tflag) {
refresh();
curmove (curr,39);
ist = -1;
goto domove;
} else if (tty.c_cc[2] == '\010') {
} else if (tty.c_cc[VERASE] == '\010') {
for (j = 0; j < ncin; j++)
writel ("\010 \010");
ist = -1;
    (1-1/1)