Fix repeated download of same history thumbnail

https://github.com/FacialTurd/The-Powder-Toy/issues/53
This commit is contained in:
jacksonmj
2012-05-03 22:02:09 +01:00
parent 429f106ebf
commit 028eb4d9a5

View File

@@ -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);