From 82d8da2a4883c9f7e8e10ed4cb45e867d51eaf92 Mon Sep 17 00:00:00 2001 From: dumitru-stama Date: Mon, 19 Jun 2017 16:18:08 -0700 Subject: [PATCH] Fixed a string class bug --- core/ustring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ustring.cpp b/core/ustring.cpp index 6a93d7789e4..7ccf7fd2095 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)