diff options
| author | Rémi Verschelde | 2018-01-18 21:37:17 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-01-18 22:01:42 +0100 |
| commit | 9f479f096cb50fa8d1215e68c262f110116114ef (patch) | |
| tree | f115332a8e73ab059c16b077873ca2f3faab9cb1 /core/ustring.cpp | |
| parent | a1c08b71091c47d626410406f36a4bb6fca40953 (diff) | |
| download | godot-9f479f096cb50fa8d1215e68c262f110116114ef.tar.gz godot-9f479f096cb50fa8d1215e68c262f110116114ef.tar.zst godot-9f479f096cb50fa8d1215e68c262f110116114ef.zip | |
Diffstat (limited to 'core/ustring.cpp')
| -rw-r--r-- | core/ustring.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp index 1fce4f182..7aa2b012d 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -2217,7 +2217,7 @@ int String::find(const String &p_str, int p_from) const { const int len = length(); if (src_len == 0 || len == 0) - return -1; //wont find anything! + return -1; // won't find anything! const CharType *src = c_str(); const CharType *str = p_str.c_str(); @@ -2256,7 +2256,7 @@ int String::find(const char *p_str, int p_from) const { const int len = length(); if (len == 0) - return -1; //wont find anything! + return -1; // won't find anything! const CharType *src = c_str(); @@ -2317,7 +2317,7 @@ int String::findmk(const Vector<String> &p_keys, int p_from, int *r_key) const { int len = length(); if (len == 0) - return -1; //wont find anything! + return -1; // won't find anything! const CharType *src = c_str(); @@ -2366,7 +2366,7 @@ int String::findn(const String &p_str, int p_from) const { int src_len = p_str.length(); if (src_len == 0 || length() == 0) - return -1; //wont find anything! + return -1; // won't find anything! const CharType *srcd = c_str(); @@ -2462,7 +2462,7 @@ int String::rfindn(const String &p_str, int p_from) const { int len = length(); if (src_len == 0 || len == 0) - return -1; //wont find anything! + return -1; // won't find anything! const CharType *src = c_str(); |
