Skip to content
Permalink
Browse files

Fix sim.deleteStamp not updating stamps.def

  • Loading branch information...
jacob1 committed Mar 26, 2019
1 parent e901103 commit 4cf0fe5aab7f5a1b349f116d80126c7e34cddff3
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/client/Client.cpp
@@ -1048,12 +1048,12 @@ void Client::DeleteStamp(ByteString stampID)
{
for (std::list<ByteString>::iterator iterator = stampIDs.begin(), end = stampIDs.end(); iterator != end; ++iterator)
{
if((*iterator) == stampID)
if ((*iterator) == stampID)
{
ByteString stampFilename = ByteString::Build(STAMPS_DIR, PATH_SEP, stampID, ".stm");
remove(stampFilename.c_str());
stampIDs.erase(iterator);
return;
break;
}
}

0 comments on commit 4cf0fe5

Please sign in to comment.
You can’t perform that action at this time.