mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-06 16:36:32 +02:00
fix illuminati symbols appearing when rescanning stamps
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user