diff options
Diffstat (limited to 'Master/texmf-dist/source/support/texplate/main/kotlin/org')
-rw-r--r-- | Master/texmf-dist/source/support/texplate/main/kotlin/org/islandoftex/texplate/model/handlers/BooleanHandler.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/support/texplate/main/kotlin/org/islandoftex/texplate/model/handlers/BooleanHandler.kt b/Master/texmf-dist/source/support/texplate/main/kotlin/org/islandoftex/texplate/model/handlers/BooleanHandler.kt index cbb74a532f9..aa8c7906479 100644 --- a/Master/texmf-dist/source/support/texplate/main/kotlin/org/islandoftex/texplate/model/handlers/BooleanHandler.kt +++ b/Master/texmf-dist/source/support/texplate/main/kotlin/org/islandoftex/texplate/model/handlers/BooleanHandler.kt @@ -15,6 +15,6 @@ class BooleanHandler : Handler { * @return A list. */ override fun apply(string: String?): Any? { - return listOf("true", "1", "yes").contains(string!!.toLowerCase()) + return listOf("true", "1", "yes").contains(string!!.lowercase()) } } |