From 01cf3d2ebd7e4b189121a4818dae19ccad52bfbd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 18 Oct 2016 11:15:24 +0200 Subject: GRAPHICS: Remove debug leftover --- graphics/fonts/bdf.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'graphics/fonts/bdf.cpp') diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp index e109d076a1..6049f9a283 100644 --- a/graphics/fonts/bdf.cpp +++ b/graphics/fonts/bdf.cpp @@ -731,8 +731,6 @@ BdfFont *BdfFont::scaleFont(BdfFont *src, int newSize) { BdfBoundingBox *boxes = new BdfBoundingBox[data.numCharacters]; for (int i = 0; i < data.numCharacters; ++i) { boxes[i].width = (int)((float)src->_data.boxes[i].width * scale); - if (i == 40) - warning("char w: %d, scale: %g", boxes[i].width, scale); boxes[i].height = (int)((float)src->_data.boxes[i].height * scale); boxes[i].xOffset = (int)((float)src->_data.boxes[i].xOffset * scale); boxes[i].yOffset = (int)((float)src->_data.boxes[i].yOffset * scale); -- cgit v1.2.3