diff options
| author | jacob1 <jfu614@gmail.com> | 2012-10-02 20:55:45 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-05 14:23:24 (GMT) |
| commit | 7313bd81ca0fb497062ce350caa89e7e813f54f0 (patch) | |
| tree | 6f1dc502082d4906812ec98375224f77bf4ab3fc /src/client/Client.cpp | |
| parent | 34fdffa340abd2db056dcad874879376091d6ea0 (diff) | |
| download | powder-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.cpp | 2 |
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); |
