Skip to content

Commit

Permalink
Fix sim.deleteStamp not updating stamps.def
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Mar 26, 2019
1 parent e901103 commit 4cf0fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/Client.cpp
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 4cf0fe5

Please sign in to comment.