X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Frawdsp.c;h=7d172874bff72e540f7b56e9efe0dd866c8d9b4e;hb=07e1a51683325ac9e9011a4c9d9802ba454721af;hp=0aeeb35753a41a9622e14d1c7527794722b0c6d8;hpb=1ea53ec86415316844abc71728f155bcb194bf7f;p=gnushogi.git diff --git a/gnushogi/rawdsp.c b/gnushogi/rawdsp.c index 0aeeb35..7d17287 100644 --- a/gnushogi/rawdsp.c +++ b/gnushogi/rawdsp.c @@ -2,11 +2,14 @@ * FILE: rawdsp.c * * ---------------------------------------------------------------------- - * - * Copyright (c) 2012 Free Software Foundation + * Copyright (c) 1993, 1994, 1995 Matthias Mutz + * Copyright (c) 1999 Michael Vanier and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * + * Copyright (c) 1988, 1989, 1990 John Stanback + * Copyright (c) 1992 Free Software Foundation + * * This file is part of GNU SHOGI. * * GNU Shogi is free software; you can redistribute it and/or modify it @@ -378,8 +381,8 @@ Raw_EditBoard(void) } else { - c = '9' - s[1]; - r = 'i' - s[2]; + c = COL_NAME(s[1]); + r = ROW_NAME(s[2]); } if ((c >= 0) && (c < NO_COLS) && (r >= 0) && (r < NO_ROWS))