Mercurial > pidgin
changeset 18726:68fec9f954dd
Make sure long titles remain within their own cell.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 30 Jul 2007 20:46:07 +0000 |
parents | 1aeda1e812a8 |
children | 778f4fc8cbcc |
files | finch/libgnt/gnttree.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c Mon Jul 30 20:25:38 2007 +0000 +++ b/finch/libgnt/gnttree.c Mon Jul 30 20:46:07 2007 +0000 @@ -450,7 +450,7 @@ if (COLUMN_INVISIBLE(tree, i)) { continue; } - mvwaddstr(widget->window, pos, x + 1, tree->columns[i].title); + mvwaddnstr(widget->window, pos, x + (x != pos), tree->columns[i].title, tree->columns[i].width); NEXT_X; } if (pos)