src/ui-term.c
errr Term_putch(int x, int y, int a, wchar_t c)
{
	errr res;

	/* Move first */
	if ((res = Term_gotoxy(x, y)) != 0) return (res);

	/* Then add the char */
	if ((res = Term_addch(a, c)) != 0) return (res);

	/* Success */
	return (0);
}
/**
 * Move to a location and, using an attr, add a char
 */
Move to a location and, using an attr, add a char
Move to a location and using an attr add a char
errr Term_putch(int x, int y, int a, wchar_t c)
{
	errr res;
	if ((res = Term_gotoxy(x, y)) != 0) return (res);
	if ((res = Term_addch(a, c)) != 0) return (res);
	return (0);
}
errr Term_putch ( int x , int y , int a , wchar_t c ) { errr res ; if ( ( res = Term_gotoxy ( x , y ) ) != 0 ) return ( res ) ; if ( ( res = Term_addch ( a , c ) ) != 0 ) return ( res ) ; return ( 0 ) ; }
Move to a location and, using an attr, add a char
Move to a location and using an attr add a char
/* Move first */ /* Then add the char */ /* Success */