src/ui-term.c
errr Term_putstr(int x, int y, int n, int a, const char *s)
{
	errr res;

	if (!Term)
		return 0;

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

	/* Then add the string */
	if ((res = Term_addstr(n, a, s)) != 0) return (res);

	/* Success */
	return (0);
}
/**
 * Move to a location and, using an attr, add a string
 */
Move to a location and, using an attr, add a string
Move to a location and using an attr add a string
errr Term_putstr(int x, int y, int n, int a, const char *s)
{
	errr res;
	if (!Term)
		return 0;
	if ((res = Term_gotoxy(x, y)) != 0) return (res);
	if ((res = Term_addstr(n, a, s)) != 0) return (res);
	return (0);
}
errr Term_putstr ( int x , int y , int n , int a , const char * s ) { errr res ; if ( ! Term ) return 0 ; if ( ( res = Term_gotoxy ( x , y ) ) != 0 ) return ( res ) ; if ( ( res = Term_addstr ( n , a , s ) ) != 0 ) return ( res ) ; return ( 0 ) ; }
Move to a location and, using an attr, add a string
Move to a location and using an attr add a string
/* Move first */ /* Then add the string */ /* Success */