utf8-everywhere: Scrollback-loading code thought the first word of every message was part of the timestamp because of a missing space.

This commit is contained in:
Arnavion 2012-11-04 09:11:41 -08:00
parent 6602e6a7c5
commit 6560e6365a
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ scrollback_save (session *sess, char *text)
stamp = time (0);
if (sizeof (stamp) == 4) /* gcc will optimize one of these out */
buf = g_strdup_printf ("T %d", (int) stamp);
buf = g_strdup_printf ("T %d ", (int) stamp);
else
buf = g_strdup_printf ("T %" G_GINT64_FORMAT " ", (gint64)stamp);
write (sess->scrollfd, buf, strlen (buf));