mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-22 07:53:00 +02:00
Fix repeated download of same history thumbnail
https://github.com/FacialTurd/The-Powder-Toy/issues/53
This commit is contained in:
@@ -3639,7 +3639,7 @@ int search_ui(pixel *vid_buf)
|
|||||||
strappend(id_d_temp, "_");
|
strappend(id_d_temp, "_");
|
||||||
strappend(id_d_temp, search_dates[pos]);
|
strappend(id_d_temp, search_dates[pos]);
|
||||||
//img_id[i] = mystrdup(id_d_temp);
|
//img_id[i] = mystrdup(id_d_temp);
|
||||||
if (!strcmp(id_d_temp, img_id[i])) {
|
if (!strcmp(id_d_temp, img_id[i]) && !search_thumbs[pos]) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
free(id_d_temp);
|
free(id_d_temp);
|
||||||
|
Reference in New Issue
Block a user