Merge branch 'NetHack-3.6'
This commit is contained in:
@@ -537,12 +537,14 @@ int x, y;
|
||||
set_console_cursor(x, y);
|
||||
}
|
||||
|
||||
void
|
||||
/* same signature as 'putchar()' with potential failure result ignored */
|
||||
int
|
||||
xputc(ch)
|
||||
char ch;
|
||||
int ch;
|
||||
{
|
||||
set_console_cursor(ttyDisplay->curx, ttyDisplay->cury);
|
||||
xputc_core(ch);
|
||||
xputc_core((char) ch);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
@@ -550,7 +552,7 @@ xputs(s)
|
||||
const char *s;
|
||||
{
|
||||
int k;
|
||||
int slen = strlen(s);
|
||||
int slen = (int) strlen(s);
|
||||
|
||||
if (ttyDisplay)
|
||||
set_console_cursor(ttyDisplay->curx, ttyDisplay->cury);
|
||||
|
||||
@@ -82,11 +82,11 @@ int mode;
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
xputc(ch)
|
||||
char ch;
|
||||
int ch;
|
||||
{
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user