From 7b892e957f12dc78e188920f41bd6317c6dce9ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 21 Mar 2015 22:39:53 +0100 Subject: [PATCH] RPM packaging: update bibletime --- redhat/applications/bibletime/bibletime-14.0.0.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redhat/applications/bibletime/bibletime-14.0.0.patch b/redhat/applications/bibletime/bibletime-14.0.0.patch index d8cf2a399..eaae32d16 100644 --- a/redhat/applications/bibletime/bibletime-14.0.0.patch +++ b/redhat/applications/bibletime/bibletime-14.0.0.patch @@ -7,7 +7,7 @@ index 1c218b3..dda6275 100644 /** Returns true if the given option is enabled. */ const bool CSwordBackend::isOptionEnabled( const CSwordModuleInfo::FilterTypes type) { - return (getGlobalOption( optionName(type).latin1() ) == "On"); -+ return (strcmp(getGlobalOption( optionName(type).latin1() ), "On")); ++ return (strcmp(getGlobalOption( optionName(type).latin1() ), "On") == 0); } /** Sets the given options enabled or disabled depending on the second parameter. */ @@ -20,7 +20,7 @@ index 52d012f..4f8c4fe 100644 bool CDragDropMgr::BTDrag::provides( const char* type ) const { - return (type == "BibleTime/DND"); //return only true if the type is BibleTime/DND -+ return (strcmp(type, "BibleTime/DND")); //return only true if the type is BibleTime/DND ++ return (strcmp(type, "BibleTime/DND") == 0); //return only true if the type is BibleTime/DND }; const char* CDragDropMgr::BTDrag::format( int i ) const {