Fix typo - don't use the wrong variable

This commit is contained in:
baldurk
2016-10-05 15:42:08 +02:00
parent 202ab8867c
commit 74c7820c18
+1 -1
View File
@@ -1233,7 +1233,7 @@ void TextureViewer::InitResourcePreview(ResourcePreview *prev, ResourceId id,
else if(bufptr != NULL)
{
QString fullname = bindName;
if(texptr->customName)
if(bufptr->customName)
{
if(!fullname.isEmpty())
fullname += " = ";