summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-11-05 08:10:24 +0700
committerGitHub <noreply@github.com>2017-11-05 08:10:24 +0700
commitf7a41c1e309226bd0deb6381e71a5ce005cbe4ef (patch)
tree11cd91d0875167e91567494dc29fc3ab8664d02f
parentefb795b59972d2ad8e7d92987ee0238ae3172d5a (diff)
parent609cf36f8daaf0e7e3bb2b9d6b30ba6336d41c69 (diff)
Merge pull request #12647 from leezh/dedent_return
Fixed dedent() binding did not return result
-rw-r--r--core/variant_call.cpp2
1 files changed, 1 insertions, 1 deletions
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());