/[zanavi_public1]/navit/navit/country.c
ZANavi

Diff of /navit/navit/country.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 27 Revision 28
372 372
373static int 373static int
374match(struct country_search *this_, enum attr_type type, const char *name) 374match(struct country_search *this_, enum attr_type type, const char *name)
375{ 375{
376 int ret; 376 int ret;
377 char *s1, *s2; 377 char *s1 = NULL;
378 char *s2 = NULL;
378 if (!name) 379 if (!name)
379 return 0; 380 return 0;
380 if (this_->search.type != type && this_->search.type != attr_country_all) 381 if (this_->search.type != type && this_->search.type != attr_country_all)
381 return 0; 382 return 0;
382 s1=linguistics_casefold(this_->search.u.str); 383 s1=linguistics_casefold(this_->search.u.str);

Legend:
Removed from v.27  
changed lines
  Added in v.28

   
Visit the ZANavi Wiki