diff options
author | François Andriot <albator78@libertysurf.fr> | 2015-03-21 22:39:53 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2015-03-21 22:39:53 +0100 |
commit | 7b892e957f12dc78e188920f41bd6317c6dce9ac (patch) | |
tree | febeef8faf0e8a7b1739e6ea994db34dab761b09 /redhat/applications/bibletime | |
parent | 0b867527d16dc6eb5574c8afd45c02057f8f9b4f (diff) | |
download | tde-packaging-7b892e957f12dc78e188920f41bd6317c6dce9ac.tar.gz tde-packaging-7b892e957f12dc78e188920f41bd6317c6dce9ac.zip |
RPM packaging: update bibletime
Diffstat (limited to 'redhat/applications/bibletime')
-rw-r--r-- | redhat/applications/bibletime/bibletime-14.0.0.patch | 4 |
1 files 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 { |