summaryrefslogtreecommitdiff
path: root/src/client/Client.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-10-02 20:55:45 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-05 14:23:24 (GMT)
commit7313bd81ca0fb497062ce350caa89e7e813f54f0 (patch)
tree6f1dc502082d4906812ec98375224f77bf4ab3fc /src/client/Client.cpp
parent34fdffa340abd2db056dcad874879376091d6ea0 (diff)
downloadpowder-7313bd81ca0fb497062ce350caa89e7e813f54f0.zip
powder-7313bd81ca0fb497062ce350caa89e7e813f54f0.tar.gz
fix problem with last commit
there was no other missing stamps problem actually, just this
Diffstat (limited to 'src/client/Client.cpp')
-rw-r--r--src/client/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp
index a1becf4..511e659 100644
--- a/src/client/Client.cpp
+++ b/src/client/Client.cpp
@@ -921,7 +921,7 @@ void Client::UnDeleteStamps()
stampIDs.clear();
while (entry = readdir(directory))
{
- if(strncmp(entry->d_name, "..", 3) && strncmp(entry->d_name, ".", 2) && strcmp(entry->d_name, ".stm"))
+ if(strncmp(entry->d_name, "..", 3) && strncmp(entry->d_name, ".", 2) && strstr(entry->d_name, ".stm"))
{
char stampname[11];
strncpy(stampname, entry->d_name, 10);