diff options
author | Mikael Hallendal <hallski@src.gnome.org> | 2002-05-07 20:00:47 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@src.gnome.org> | 2002-05-07 20:00:47 +0000 |
commit | 27901756c68ad83a04038aadf77f4dd0ef4e48c3 (patch) | |
tree | 1c222ed913cd5b93f297a7050cd44260c1ff50d5 | |
parent | e576b11789e0dc0db7b64257a1fa76e3c637af9e (diff) | |
download | yelp-27901756c68ad83a04038aadf77f4dd0ef4e48c3.tar.gz |
reverted, didn't make a difference and it should never happen.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/yelp-section.c | 4 |
2 files changed, 0 insertions, 6 deletions
@@ -1,8 +1,6 @@ 2002-05-07 Mikael Hallendal <micke@codefactory.se> * src/yelp-section.c: - (yelp_section_compare): return if either of a->name or b->name is - NULL. (yelp_section_new): check if name == NULL, hopefully fixes #80981. * src/yelp-scrollkeeper.c: diff --git a/src/yelp-section.c b/src/yelp-section.c index b61df2f7..14e5ce29 100644 --- a/src/yelp-section.c +++ b/src/yelp-section.c @@ -78,10 +78,6 @@ gint yelp_section_compare (gconstpointer a, gconstpointer b) { - if (!(((YelpSection *)a)->name) || !(((YelpSection *)b)->name)) { - return 0; - } - return strcmp (((YelpSection *)a)->name, ((YelpSection *)b)->name); } |