43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
*** src/nondsp.c.orig Wed May 24 09:54:13 1995
|
|
--- src/nondsp.c Tue May 19 23:41:58 1998
|
|
***************
|
|
*** 292,301 ****
|
|
|
|
NewGame ();
|
|
|
|
! gets (s); /* skip "setup" command */
|
|
for (r = NO_ROWS-1; r >= 0; r--)
|
|
{
|
|
! gets (s);
|
|
for (c = 0; c <= (NO_COLS-1); c++)
|
|
{
|
|
ch = s[c];
|
|
--- 292,301 ----
|
|
|
|
NewGame ();
|
|
|
|
! fgets (s, 79, stdin); /* skip "setup" command */
|
|
for (r = NO_ROWS-1; r >= 0; r--)
|
|
{
|
|
! fgets (s, 79, stdin);
|
|
for (c = 0; c <= (NO_COLS-1); c++)
|
|
{
|
|
ch = s[c];
|
|
***************
|
|
*** 645,651 ****
|
|
for(;*p != 'X';*q++ = *p++);
|
|
*q = '\0';
|
|
/* line empty ask for input */
|
|
! if(!T[0]){ printz (CP[61]); gets(T); strcat(T,"XX"); }
|
|
/* skip blackspace */
|
|
for (p = T; *p == ' '; p++) ;
|
|
/* could be moves or a fischer clock */
|
|
--- 645,651 ----
|
|
for(;*p != 'X';*q++ = *p++);
|
|
*q = '\0';
|
|
/* line empty ask for input */
|
|
! if(!T[0]){ printz (CP[61]); fgets(T, NO_SQUARES-1, stdin); strcat(T,"XX"); }
|
|
/* skip blackspace */
|
|
for (p = T; *p == ' '; p++) ;
|
|
/* could be moves or a fischer clock */
|