From 1006411c0200de3259608fc70f1e1cf5df7d225b Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 19 May 2012 00:06:11 +0200 Subject: [PATCH] small fix for mygui log being spammed with errors --- apps/openmw/mwgui/container.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/container.cpp b/apps/openmw/mwgui/container.cpp index 85a399450..5595825fc 100644 --- a/apps/openmw/mwgui/container.cpp +++ b/apps/openmw/mwgui/container.cpp @@ -489,7 +489,8 @@ void ContainerBase::drawItems() { backgroundTex += "_barter"; } - backgroundTex += ".dds"; + if (backgroundTex != "") + backgroundTex += ".dds"; backgroundWidget->setImageTexture(backgroundTex); if (it->second == ItemState_Barter && !isMagic)