Browse Source

Fixed a string class bug

dumitru-stama 8 years ago
parent
commit
82d8da2a48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/ustring.cpp

+ 1 - 1
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)