From 3b63db658a53757a4878432cde47864f618017d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Tschumperl=C3=A9?= <David.Tschumperle@gmail.com>
Date: Sun, 14 Oct 2018 11:39:32 +0200
Subject: [PATCH] .

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

diff --git a/CImg.h b/CImg.h
index 5e20839..f653990 100644
--- a/CImg.h
+++ b/CImg.h
@@ -59423,7 +59423,7 @@ namespace cimg_library_suffixed {
                            font[0]._height>font_height?2:5);
         if (is_variable_width) { // Crop font
           cimglist_for(font,l) {
-            CImg<T>& letter = font[l];
+            CImg<ucharT>& letter = font[l];
             int xmin = letter.width(), xmax = 0;
             cimg_forXY(letter,x,y) if (letter(x,y)) { if (x<xmin) xmin = x; if (x>xmax) xmax = x; }
             if (xmin<=xmax) letter.crop(xmin,0,xmax,letter._height - 1);
-- 
GitLab