Sun Jun 17 17:48:45 2001 Tim Janik <timj@gtk.org>

Author: timj
Date: 2001-06-17 10:13:09 GMT
Sun Jun 17 17:48:45 2001  Tim Janik  <timj@gtk.org>

        * pkg.c (internal_get_package): fix check before parsing a file at
        "location" to read (location==NULL) instead of (pkg==NULL).
This commit is contained in:
Arch Librarian 2005-07-14 13:04:15 +00:00
parent 9a24428500
commit 9c879bb4f8
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Jun 17 17:48:45 2001 Tim Janik <timj@gtk.org>
* pkg.c (internal_get_package): fix check before parsing a file at
"location" to read (location==NULL) instead of (pkg==NULL).
2001-06-14 Havoc Pennington <hp@redhat.com>
* pkg.c (internal_get_package): don't fall back to legacy -config

2
pkg.c
View file

@ -217,7 +217,7 @@ internal_get_package (const char *name, gboolean warn, gboolean check_compat)
}
}
if (pkg == NULL)
if (location == NULL)
{
if (warn)
verbose_error ("Package %s was not found in the pkg-config search path.\n"