mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-04 22:11:52 +00:00
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:
1 parent
6602e6a7c5
commit
6560e6365a
1 file changed
+1
-1
+1
-1
@@ -228,7 +228,7 @@ scrollback_save (session *sess, char *text)
|
|||||||
|
|
||||||
stamp = time (0);
|
stamp = time (0);
|
||||||
if (sizeof (stamp) == 4) /* gcc will optimize one of these out */
|
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
|
else
|
||||||
buf = g_strdup_printf ("T %" G_GINT64_FORMAT " ", (gint64)stamp);
|
buf = g_strdup_printf ("T %" G_GINT64_FORMAT " ", (gint64)stamp);
|
||||||
write (sess->scrollfd, buf, strlen (buf));
|
write (sess->scrollfd, buf, strlen (buf));
|
||||||
|
|||||||
Reference in new issue
Block a user