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:
parent
6602e6a7c5
commit
6560e6365a
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user