From 8c300499135b39ecac9d3a77837efdf28343b4c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Tschumperl=C3=A9?= <David.Tschumperle@gmail.com>
Date: Sat, 13 Oct 2018 18:09:15 +0200
Subject: [PATCH] .

---
 CImg.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CImg.h b/CImg.h
index 1ef09d9..70f9ff5 100644
--- a/CImg.h
+++ b/CImg.h
@@ -59650,7 +59650,8 @@ namespace cimg_library_suffixed {
           if (ptrd + n<=ptrde) { std::memset(ptrd,v,n); ptrd+=n; }
           else { std::memset(ptrd,v,ptrde - ptrd); break; }
         }
-        base_font.get_shared_row(base_font.height()-1).fill(0); // Remove wrong pixels on last line
+        if (data_ind>=1 && data_ind<=2)
+          base_font.get_shared_row(base_font.height()-1).fill(0); // Remove wrong pixels on last line
       }
 
       // Find optimal font cache location to return.
-- 
GitLab