From 2b37f84ef99be40c3913aff014ecba38de7aece6 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 27 Mar 2012 19:03:00 +0400 Subject: [PATCH] zapit/src/bouquets.cpp: change existsBouquet back to original - compare exactly name, case sensitive. For other cases providermap.xml should be used --- src/zapit/src/bouquets.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index 13c48b996..4e0975d69 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -488,6 +488,7 @@ void CBouquetManager::deleteBouquet(const CZapitBouquet* bouquet) } } +#if 0 int str_compare_withoutspace(char const *s1, char const *s2) { int cmp_result = 0; @@ -501,6 +502,8 @@ int str_compare_withoutspace(char const *s1, char const *s2) } return cmp_result; } +#endif + // -- Find Bouquet-Name, if BQ exists (2002-04-02 rasc) // -- Return: Bouqet-ID (found: 0..n) or -1 (Bouquet does not exist) int CBouquetManager::existsBouquet(char const * const name) @@ -511,6 +514,7 @@ int CBouquetManager::existsBouquet(char const * const name) { return (int)i; } +#if 0 else if (strcasecmp(Bouquets[i]->Name.c_str(), name)==0) { int lower1 = 0, lower2 = 0; @@ -548,6 +552,7 @@ int CBouquetManager::existsBouquet(char const * const name) } return (int)i; } +#endif } return -1; }