From 028eb4d9a53c00109fb0d4e4e2b6aa0f6584b37d Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Thu, 3 May 2012 22:02:09 +0100 Subject: [PATCH] Fix repeated download of same history thumbnail https://github.com/FacialTurd/The-Powder-Toy/issues/53 --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 996dc2307..9428dc2c6 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);