diff options
author | Richard Nelson <wabz@pidgin.im> | 2008-01-31 04:40:04 +0000 |
---|---|---|
committer | Richard Nelson <wabz@pidgin.im> | 2008-01-31 04:40:04 +0000 |
commit | a6b7cbc76fbb0912c5944334048f9eefd7464d8a (patch) | |
tree | 4f3f7c74c2af2d5dd0713d0ae81a985cc57d30a2 | |
parent | a2591ca5f88f9130861cd9a7c61ea63a5873abaa (diff) | |
download | pidgin-a6b7cbc76fbb0912c5944334048f9eefd7464d8a.tar.gz |
Fix a crash when pressing backspace at a menu
-rw-r--r-- | finch/libgnt/gnttree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/finch/libgnt/gnttree.c b/finch/libgnt/gnttree.c index 88f5a4da7a..532fdcf2e1 100644 --- a/finch/libgnt/gnttree.c +++ b/finch/libgnt/gnttree.c @@ -684,7 +684,7 @@ action_move_parent(GntBindable *bind, GList *null) GntTreeRow *row = tree->current; int dist; - if (!row->parent || SEARCHING(tree)) + if (!row || !row->parent || SEARCHING(tree)) return FALSE; tree->current = row->parent; |