summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-09-30 03:28:05 +0900
committervolzhs <volzhs@gmail.com>2016-09-30 03:28:05 +0900
commitc333659ebcdf41851761ebd3d8edc8e5e822164e (patch)
treee182360d8ac41b1df9af226df10652940adfdeb0 /core
parentcb7661df942cfb423c5fe5090c1c114489905c34 (diff)
Fix typo for word_wrap
Diffstat (limited to 'core')
-rw-r--r--core/ustring.cpp2
-rw-r--r--core/ustring.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp
index 0d887210c3..f7dcba6b14 100644
--- a/core/ustring.cpp
+++ b/core/ustring.cpp
@@ -3173,7 +3173,7 @@ bool String::is_valid_identifier() const {
//kind of poor should be rewritten properly
-String String::world_wrap(int p_chars_per_line) const {
+String String::word_wrap(int p_chars_per_line) const {
int from=0;
int last_space=0;
diff --git a/core/ustring.h b/core/ustring.h
index bb57b11d88..09d13a9e64 100644
--- a/core/ustring.h
+++ b/core/ustring.h
@@ -218,7 +218,7 @@ public:
String c_escape() const;
String c_unescape() const;
String json_escape() const;
- String world_wrap(int p_chars_per_line) const;
+ String word_wrap(int p_chars_per_line) const;
String percent_encode() const;
String percent_decode() const;