소스 검색

Update str.cpp

Fixed copy/paste error - now actually checks the parameter passed in....
RichardRanft 10 년 전
부모
커밋
6c9cff4c68
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Engine/source/core/util/str.cpp

+ 1 - 1
Engine/source/core/util/str.cpp

@@ -659,7 +659,7 @@ bool String::isEmpty() const
 
 bool String::isEmpty(const char* str)
 {
-	return src == 0 || src[0] == '\0';
+	return str == 0 || str[0] == '\0';
 }
 
 bool String::isShared() const