@@ -33,8 +33,8 @@ namespace Core {
bool operator==(const CharType* s) const {
for(int i = 0; i < length; i++, s++) {
- if(*s == '\0' && *s != data[i]) {
- return false;
+ if(*s == '\0') {
+ return *s == data[i];
}
return *s == '\0';