summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-06-20 19:45:29 +0200
committerGitHub <noreply@github.com>2017-06-20 19:45:29 +0200
commita22b9ce8aca9ff6580308b43bfaef92200f9aaa5 (patch)
tree528f2c9a87108f81856c43300a07afa527d338f9
parentceded65c015b5456b8676cd5d61bb7176670ec19 (diff)
parent82d8da2a4883c9f7e8e10ed4cb45e867d51eaf92 (diff)
Merge pull request #9279 from dumitru-stama/fixstring
Fixed a string class bug
-rw-r--r--core/ustring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp
index 6a93d7789e..7ccf7fd209 100644
--- a/core/ustring.cpp
+++ b/core/ustring.cpp
@@ -65,7 +65,7 @@ bool CharString::operator<(const CharString &p_right) const {
}
const char *this_str = get_data();
- const char *that_str = get_data();
+ const char *that_str = p_right.get_data();
while (true) {
if (*that_str == 0 && *this_str == 0)