/* Set output offsets to 3270 datastream fragment of a console string.  */
static void con3270_update_string(struct con3270 *cp, struct string *s, int nr)
/* Set output offsets to 3270 datastream fragment of a console string.  */
static void con3270_update_string(struct con3270 *cp, struct string *s, int nr)
{
	if (s->len >= cp->view.cols - 5)
		return;
	raw3270_buffer_address(cp->view.dev, s->string + s->len - 3,
			       cp->view.cols * (nr + 1));
}