|
|
@ -251,7 +251,7 @@ const bool CSwordBackend::shutdownModules() {
|
|
|
|
|
|
|
|
|
|
|
|
/** Returns true if the given option is enabled. */
|
|
|
|
/** Returns true if the given option is enabled. */
|
|
|
|
const bool CSwordBackend::isOptionEnabled( const CSwordModuleInfo::FilterTypes type) {
|
|
|
|
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. */
|
|
|
|
/** Sets the given options enabled or disabled depending on the second parameter. */
|
|
|
|