summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordumitru-stama <dumitru.stama@gmail.com>2017-06-19 16:18:08 -0700
committerdumitru-stama <dumitru.stama@gmail.com>2017-06-19 20:08:31 -0700
commit82d8da2a4883c9f7e8e10ed4cb45e867d51eaf92 (patch)
tree5cd99a1c29beb2dc3f5a4003cb332265dc8fc336
parentf919be936b366f23388a8bcd99941d1fcd7cba73 (diff)
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)