mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
zapit/src/bouquets.cpp: change existsBouquet back to original -
compare exactly name, case sensitive. For other cases providermap.xml should be used
This commit is contained in:
@@ -488,6 +488,7 @@ void CBouquetManager::deleteBouquet(const CZapitBouquet* bouquet)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
int str_compare_withoutspace(char const *s1, char const *s2)
|
int str_compare_withoutspace(char const *s1, char const *s2)
|
||||||
{
|
{
|
||||||
int cmp_result = 0;
|
int cmp_result = 0;
|
||||||
@@ -501,6 +502,8 @@ int str_compare_withoutspace(char const *s1, char const *s2)
|
|||||||
}
|
}
|
||||||
return cmp_result;
|
return cmp_result;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// -- Find Bouquet-Name, if BQ exists (2002-04-02 rasc)
|
// -- Find Bouquet-Name, if BQ exists (2002-04-02 rasc)
|
||||||
// -- Return: Bouqet-ID (found: 0..n) or -1 (Bouquet does not exist)
|
// -- Return: Bouqet-ID (found: 0..n) or -1 (Bouquet does not exist)
|
||||||
int CBouquetManager::existsBouquet(char const * const name)
|
int CBouquetManager::existsBouquet(char const * const name)
|
||||||
@@ -511,6 +514,7 @@ int CBouquetManager::existsBouquet(char const * const name)
|
|||||||
{
|
{
|
||||||
return (int)i;
|
return (int)i;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
else if (strcasecmp(Bouquets[i]->Name.c_str(), name)==0)
|
else if (strcasecmp(Bouquets[i]->Name.c_str(), name)==0)
|
||||||
{
|
{
|
||||||
int lower1 = 0, lower2 = 0;
|
int lower1 = 0, lower2 = 0;
|
||||||
@@ -548,6 +552,7 @@ int CBouquetManager::existsBouquet(char const * const name)
|
|||||||
}
|
}
|
||||||
return (int)i;
|
return (int)i;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user