X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fmain.c;h=dabb8eb996c26dddb88f613aae0941268aa4582c;hb=d23b84fee73518dfb6b281d1eaedbe4fc4aa34b2;hp=332a303f22e6c8ecd28952b6fba246aaf9da1899;hpb=82b026e6376b640a4d3409a461dd6bd83708e33e;p=gnushogi.git diff --git a/gnushogi/main.c b/gnushogi/main.c index 332a303..dabb8eb 100644 --- a/gnushogi/main.c +++ b/gnushogi/main.c @@ -2,11 +2,14 @@ * FILE: main.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 @@ -92,12 +95,13 @@ main (int argc, char **argv) break; #endif +#ifdef HAVE_LIBCURSES case 'C': /* Curses interface. */ display_type = DISPLAY_CURSES; break; - +#endif case 'h': /* Need the "+" syntax here... */ @@ -208,7 +212,7 @@ main (int argc, char **argv) long j; struct fileentry n; - printf(CP[66]); + fputs(CP[66], stdout); n.f = n.t = 0; n.flags = 0; n.depth = 0; @@ -242,7 +246,7 @@ main (int argc, char **argv) int nr[MAXDEPTH]; struct fileentry n; - printf(CP[49]); + fputs(CP[49], stdout); for (i = 0; i < MAXDEPTH; i++) nr[i] = 0; @@ -305,7 +309,7 @@ main (int argc, char **argv) default: - fprintf(stderr, CP[113]); + fputs(CP[113], stderr); exit(1); }