diff options
Diffstat (limited to 'tdehtml/ecma/kjs_binding.cpp')
-rw-r--r-- | tdehtml/ecma/kjs_binding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/ecma/kjs_binding.cpp b/tdehtml/ecma/kjs_binding.cpp index d9f0b7b25..7e545a5a4 100644 --- a/tdehtml/ecma/kjs_binding.cpp +++ b/tdehtml/ecma/kjs_binding.cpp @@ -328,7 +328,7 @@ TQVariant KJS::ValueToVariant(ExecState* exec, const Value &val) { TQVariant res; switch (val.type()) { case BooleanType: - res = TQVariant(val.toBoolean(exec), 0); + res = TQVariant(val.toBoolean(exec)); break; case NumberType: res = TQVariant(val.toNumber(exec)); |