From 028eb4d9a53c00109fb0d4e4e2b6aa0f6584b37d Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Thu, 3 May 2012 22:02:09 +0100 Subject: Fix repeated download of same history thumbnail https://github.com/FacialTurd/The-Powder-Toy/issues/53 diff --git a/src/interface.c b/src/interface.c index 996dc23..9428dc2 100644 --- a/src/interface.c +++ b/src/interface.c @@ -3639,7 +3639,7 @@ int search_ui(pixel *vid_buf) strappend(id_d_temp, "_"); strappend(id_d_temp, search_dates[pos]); //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; } free(id_d_temp); -- cgit v0.9.2-21-gd62e