Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ansus:KDE3
bibletime
bibletime-1.6.5.1-stringcompare.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bibletime-1.6.5.1-stringcompare.patch of Package bibletime
Index: bibletime/backend/cswordbackend.cpp =================================================================== --- bibletime/backend/cswordbackend.cpp.orig +++ bibletime/backend/cswordbackend.cpp @@ -251,7 +251,7 @@ const bool CSwordBackend::shutdownModule /** 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") == 0); } /** Sets the given options enabled or disabled depending on the second parameter. */ Index: bibletime/frontend/cdragdropmgr.cpp =================================================================== --- bibletime/frontend/cdragdropmgr.cpp.orig +++ bibletime/frontend/cdragdropmgr.cpp @@ -36,7 +36,7 @@ bool CDragDropMgr::BTDrag::canDecode( co }; 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") == 0); //return only true if the type is BibleTime/DND }; const char* CDragDropMgr::BTDrag::format( int i ) const {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor