Ticket #1415: Directory hotlist incorrect drawing fix

src/hotlist.c: buffer clean up has been added
    original author: E.L.K.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
This commit is contained in:
Mikhail S. Pobolovets 2009-08-01 09:49:09 +03:00
parent 394e909070
commit 05b590d225

View File

@ -228,6 +228,8 @@ static void fill_listbox (void)
switch (current->type) {
case HL_TYPE_GROUP:
{
/* buff clean up */
g_string_truncate(buff, 0);
g_string_append(buff,"->");
g_string_append(buff,current->label);
if (hotlist_state.moving)