summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorZher Huei Lee <lee.zh.92@gmail.com>2017-11-05 09:07:06 +0800
committerZher Huei Lee <lee.zh.92@gmail.com>2017-11-05 09:07:06 +0800
commit609cf36f8daaf0e7e3bb2b9d6b30ba6336d41c69 (patch)
tree11cd91d0875167e91567494dc29fc3ab8664d02f /core
parentefb795b59972d2ad8e7d92987ee0238ae3172d5a (diff)
Fixed dedent() binding did not return result
Diffstat (limited to 'core')
-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());