delete stamps when you delete stamps

This commit is contained in:
Jacob1 2012-01-17 20:51:16 -05:00
parent 134869d5e2
commit 0212099041

View File

@ -355,6 +355,12 @@ void stamp_update(void)
{
fwrite(stamps[i].name, 1, 10, f);
}
else
{
char name[30] = {0};
sprintf(name,"stamps%s%s.stm",PATH_SEP,stamps[i].name);
remove(name);
}
}
fclose(f);
}