mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-22 07:09:58 +01:00
fix illuminati symbols appearing when rescanning stamps
This commit is contained in:
parent
07e879e74c
commit
e4089a276a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user