pkg: fix tilde operator

William Pitcock 2012-07-30 05:03:37 -05:00
parent cfb3d8c3d0
commit d101c1a7c0
1 changed files with 2 additions and 2 deletions

4
pkg.c
View File

@ -484,9 +484,9 @@ pkg_compare_version(const char *a, const char *b)
if (*one == '~' || *two == '~')
{
if (*one != '~')
return 1;
if (*two != '~')
return -1;
if (*two != '~')
return 1;
one++;
two++;