From c1e004ffcab456c14e9de761e9d3f7159c0ef594 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 14 Jun 2016 14:52:32 +0200 Subject: [PATCH] String documentation: .ord_at() returns int not String fixes #5189 (cherry picked from commit 58a891265aabc7944ae5b7e588b64ff21ecd3ea8) --- core/variant_call.cpp | 2 +- doc/base/classes.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/variant_call.cpp b/core/variant_call.cpp index c16259187e6..a34241067e9 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1279,7 +1279,7 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl ADDFUNC0(STRING,STRING,String,extension,varray()); ADDFUNC0(STRING,STRING,String,basename,varray()); ADDFUNC1(STRING,STRING,String,plus_file,STRING,"file",varray()); - ADDFUNC1(STRING,STRING,String,ord_at,INT,"at",varray()); + ADDFUNC1(STRING,INT,String,ord_at,INT,"at",varray()); // ADDFUNC2(STRING,String,erase,INT,INT,varray()); ADDFUNC0(STRING,INT,String,hash,varray()); ADDFUNC0(STRING,STRING,String,md5_text,varray()); diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 7c4db1949ee..4df05881326 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -35242,7 +35242,7 @@ This method controls whether the position between two cached points is interpola - +