Add a readmark when a history buffer is loaded
authorMikael Berthe <mikael@lilotux.net>
Tue, 15 Mar 2011 12:29:24 +0100
changeset 1962 d41623dd88ee
parent 1961 39021fd6b0e1
child 1963 5d718766d2d6
Add a readmark when a history buffer is loaded
mcabber/mcabber/histolog.c
--- 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()