Update hbuf_get_lines() comment
authorMikael Berthe <mikael@lilotux.net>
Sun, 24 Jul 2005 21:47:41 +0100
changeset 368 da50f08ea058
parent 367 eb023d6b7890
child 369 499170ed71c9
Update hbuf_get_lines() comment
mcabber/src/hbuf.c
--- a/mcabber/src/hbuf.c	Sun Jul 24 15:31:00 2005 +0100
+++ b/mcabber/src/hbuf.c	Sun Jul 24 21:47:41 2005 +0100
@@ -238,11 +238,10 @@
   return NULL;
 }
 
-//  hbuf_get_lines(hbuf, n, where)  FIXME bad comments XXX
-// Returns an array of 2*n pointers (for n prefixes + n lines from hbuf)
-// (prefix line 1, line 1, prefix line 2, line 2, etc.)
+//  hbuf_get_lines(hbuf, n)
+// Returns an array of n *hbb_line pointers
 // (The first line will be the line currently pointed by hbuf)
-// Note:The caller should free the array after use.
+// Note: The caller should free the array and the text pointers after use.
 hbb_line **hbuf_get_lines(GList *hbuf, unsigned int n)
 {
   unsigned int i;