Fix:Core:MSVC fixes
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 25 Jan 2011 16:08:42 +0000 (16:08 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 25 Jan 2011 16:08:42 +0000 (16:08 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4029 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/country.c

index 8a398a3..c7d24c2 100644 (file)
@@ -378,7 +378,7 @@ match(struct country_search *this_, enum attr_type type, const char *name)
        if (this_->search.type != type && this_->search.type != attr_country_all)
                return 0;
        if (this_->partial)
-               ret=(strncasecmp(this_->search.u.str, name, this_->len) == 0);
+               ret=(g_strncasecmp(this_->search.u.str, name, this_->len) == 0);
        else
                ret=(g_strcasecmp(this_->search.u.str, name) == 0);
        return ret;