changeset 1962:d41623dd88ee

Add a readmark when a history buffer is loaded
author Mikael Berthe <mikael@lilotux.net>
date Tue, 15 Mar 2011 12:29:24 +0100
parents 39021fd6b0e1
children 5d718766d2d6
files mcabber/mcabber/histolog.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/histolog.c	Tue Mar 15 00:39:17 2011 +0100
+++ b/mcabber/mcabber/histolog.c	Tue Mar 15 12:29:24 2011 +0100
@@ -349,6 +349,9 @@
   }
   fclose(fp);
   g_free(data);
+
+  // Set a readmark to separate new content
+  hbuf_set_readmark(*p_buddyhbuf, TRUE);
 }
 
 //  hlog_enable()