From 609cf36f8daaf0e7e3bb2b9d6b30ba6336d41c69 Mon Sep 17 00:00:00 2001 From: Zher Huei Lee Date: Sun, 5 Nov 2017 09:07:06 +0800 Subject: Fixed dedent() binding did not return result --- core/variant_call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 1a29b92810..05f0478003 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1458,7 +1458,7 @@ void register_variant_methods() { ADDFUNC0R(STRING, STRING, String, get_basename, varray()); ADDFUNC1R(STRING, STRING, String, plus_file, STRING, "file", varray()); ADDFUNC1R(STRING, INT, String, ord_at, INT, "at", varray()); - ADDFUNC0(STRING, STRING, String, dedent, varray()); + ADDFUNC0R(STRING, STRING, String, dedent, varray()); ADDFUNC2(STRING, NIL, String, erase, INT, "position", INT, "chars", varray()); ADDFUNC0R(STRING, INT, String, hash, varray()); ADDFUNC0R(STRING, STRING, String, md5_text, varray()); -- cgit v1.2.3