このコミットが含まれているのは:
ninya9k 2023-11-15 14:25:09 +00:00
コミット 39f29df835
1個のファイルの変更2行の追加3行の削除

5
uttt.c
ファイルの表示

@ -481,7 +481,6 @@ int ut_sockgetpos(const struct ut_state *state, int sock, int *y, int *x, bool r
}
int ut_local_game(struct ut_state *state) {
int x, y;
for(;;)
{
int r = 4, c = 4;
@ -496,7 +495,7 @@ int ut_local_game(struct ut_state *state) {
}
else
{
ut_cursprintf("%c Wins!\n", (int)w);
ut_cursprintf("%c wins!\n", (int)w);
}
break;
}
@ -523,7 +522,7 @@ int ut_network_game(struct ut_state *state, int sock, char player, bool readable
}
else
{
ut_cursprintf("%c Wins!\n", (int)w);
ut_cursprintf("%c wins!\n", (int)w);
if (readable) {ut_dprintf(sock, "\n%c wins!\n", (int)w);}
close(sock);
}