diff options
author | Ken Murchison <murch@fastmail.com> | 2017-08-19 17:02:42 -0400 |
---|---|---|
committer | Ken Murchison <murch@fastmail.com> | 2017-08-19 17:02:42 -0400 |
commit | aa84c9822ed8e4c4505480a00d009e2c160cd2b7 (patch) | |
tree | 74b26a61e8c62b1380f2c0e06f1f15e551ad1e75 | |
parent | f13820e56fc277f956918540d84c1740a7d5dd2f (diff) | |
download | libical-git-aa84c9822ed8e4c4505480a00d009e2c160cd2b7.tar.gz |
fix typo in prop_compare() which prevented X- properties from being sorted properly
-rw-r--r-- | src/libical/icalcomponent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libical/icalcomponent.c b/src/libical/icalcomponent.c index 65ece76a..341b39f5 100644 --- a/src/libical/icalcomponent.c +++ b/src/libical/icalcomponent.c @@ -2556,7 +2556,7 @@ static int prop_compare(void *a, void *b) if (r == 0) { if (k1 == ICAL_X_PROPERTY) { r = strcmp(icalproperty_get_x_name(p1), - icalproperty_get_x_name(p1)); + icalproperty_get_x_name(p2)); } if (r == 0) { |