pull/42/head
Ramesh Ravone 2017-10-03 20:40:36 +05:30
parent 4adf3db60b
commit 3ddd85d9a2
No known key found for this signature in database
GPG Key ID: 90B471D9AC10312A
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ public:
String capitalize() const; String capitalize() const;
bool empty() const; bool empty() const;
bool ends_with(String &text) const; bool ends_with(String &text) const;
void erase(int position, int chars) const; void erase(int position, int chars);
int find(String what, int from = 0) const; int find(String what, int from = 0) const;
int find_last(String what) const; int find_last(String what) const;
int findn(String what, int from = 0) const; int findn(String what, int from = 0) const;

View File

@ -153,7 +153,7 @@ bool String::ends_with(String &p_string) const {
return godot_string_ends_with(&_godot_string, &p_string._godot_string); return godot_string_ends_with(&_godot_string, &p_string._godot_string);
} }
void String::erase(int position, int chars) const { void String::erase(int position, int chars) {
godot_string_erase(&_godot_string, position, chars); godot_string_erase(&_godot_string, position, chars);
} }