From 0c7a9e9b125714566c7fa2fd0dae4863a596b26d Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Wed, 6 Aug 2014 08:16:02 +0000 Subject: [PATCH] Disabling scan_fill() recursion blocker, since reverting PNGs fixed the tools. (h/t Shin-Ichi & Pere) --- magic/src/mosaic_shaped.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic/src/mosaic_shaped.c b/magic/src/mosaic_shaped.c index 249544f1c..baa9ed774 100644 --- a/magic/src/mosaic_shaped.c +++ b/magic/src/mosaic_shaped.c @@ -547,7 +547,7 @@ int scan_fill(magic_api * api, SDL_Surface * canvas, SDL_Surface * srfc, int x, /* Abort, if we recurse too deep! -bjk 2014.08.05 */ scan_fill_count++; - if (scan_fill_count > 50000) + if (scan_fill_count > 50000 && 0) { scan_fill_count--; return (0);