Mercurial > pidgin.yaz
diff finch/libgnt/gnttree.c @ 21272:f869796bf505
Patch from Josh Davis to correct ellipsization for right-aligned columns.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 30 Oct 2007 09:32:10 +0000 |
parents | ca16de222b76 |
children | 6e666ae6f68e |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c Tue Oct 30 09:17:50 2007 +0000 +++ b/finch/libgnt/gnttree.c Tue Oct 30 09:32:10 2007 +0000 @@ -368,7 +368,7 @@ } if (RIGHT_ALIGNED(tree, i) && len < tree->columns[i].width) { - g_string_append_printf(string, "%*s", width - len, ""); + g_string_append_printf(string, "%*s", width - len - cut, ""); } text = gnt_util_onscreen_width_to_pointer(display, len - fl, NULL);