X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=libtu%2Fstringstore.c;h=3c5b7a1ec238d615fb8e71f8786b71c9bf765a8b;hb=refs%2Ftags%2F20070506;hp=e47c902050a0051b23fc574aa6e83e8d024043e4;hpb=de22e45179cb3bafa490294d31d47f361047a30a;p=ion3.git diff --git a/libtu/stringstore.c b/libtu/stringstore.c index e47c902..3c5b7a1 100644 --- a/libtu/stringstore.c +++ b/libtu/stringstore.c @@ -40,7 +40,7 @@ static int cmp(const void *d_, const char *nodekey) return (res!=0 ? res - : (nodekey[d->len]=='\0' ? 0 : 1)); + : (nodekey[d->len]=='\0' ? 0 : -1)); }