# HG changeset patch # User Mikael Berthe # Date 1122238061 -3600 # Node ID da50f08ea058252f722e57b33a9cd2e0d82ab8cc # Parent eb023d6b78901c82a00e4335108adb98863e0170 Update hbuf_get_lines() comment diff -r eb023d6b7890 -r da50f08ea058 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;