Permalink
Browse files

fix illuminati symbols appearing when rescanning stamps

  • Loading branch information...
jacob1 committed Sep 4, 2017
1 parent 07e879e commit e4089a276a7d8575f2c2bc2ca780bd2c15a74df8
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/client/Client.cpp
@@ -1204,9 +1204,7 @@ void Client::RescanStamps()
{
if(strncmp(entry->d_name, "..", 3) && strncmp(entry->d_name, ".", 2) && strstr(entry->d_name, ".stm") && strlen(entry->d_name) == 14)
{
char stampname[11];
strncpy(stampname, entry->d_name, 10);
stampIDs.push_front(stampname);
stampIDs.push_front(std::string(entry->d_name).substr(0, 10));
}
}
closedir(directory);

0 comments on commit e4089a2

Please sign in to comment.