Mercurial > pidgin.yaz
changeset 22233:782df0fd9e5e
Fix a crash when pressing backspace at a menu
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Thu, 31 Jan 2008 04:40:04 +0000 |
parents | cbf64b6f5d4a |
children | f60ce471c174 |
files | finch/libgnt/gnttree.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c Thu Jan 31 04:37:40 2008 +0000 +++ b/finch/libgnt/gnttree.c Thu Jan 31 04:40:04 2008 +0000 @@ -684,7 +684,7 @@ GntTreeRow *row = tree->current; int dist; - if (!row->parent || SEARCHING(tree)) + if (!row || !row->parent || SEARCHING(tree)) return FALSE; tree->current = row->parent;