summaryrefslogtreecommitdiff
path: root/src/interface/SaveButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/SaveButton.cpp')
-rw-r--r--src/interface/SaveButton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interface/SaveButton.cpp b/src/interface/SaveButton.cpp
index 658a969..38fb974 100644
--- a/src/interface/SaveButton.cpp
+++ b/src/interface/SaveButton.cpp
@@ -61,8 +61,7 @@ void SaveButton::Tick(float dt)
tempThumb = Client::Ref().GetThumbnail(save->GetID(), 0);
if(tempThumb)
{
- thumbnail = tempThumb; //Store a local copy of the thumbnail
- cout << (void *)(tempThumb) << " " << (void *)(&thumbnail) << endl;
+ thumbnail = new Thumbnail(*tempThumb); //Store a local copy of the thumbnail
if(thumbnail->Data)
{
if(thumbnail->Size.Y > (Size.Y-25))