Browse Source

Another crash from an old friend

Michael Ragazzon 6 years ago
parent
commit
4deea24f4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Core/Texture.cpp

+ 1 - 1
Source/Core/Texture.cpp

@@ -66,7 +66,7 @@ bool Texture::Load(const String& source, const String& source_path)
 String Texture::GetSource() const
 String Texture::GetSource() const
 {
 {
 	if (resource == NULL)
 	if (resource == NULL)
-		return NULL;
+		return String();
 
 
 	return resource->GetSource();
 	return resource->GetSource();
 }
 }