aboutsummaryrefslogtreecommitdiff
path: root/graphics/fonts/bdf.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-18 11:15:24 +0200
committerEugene Sandulenko2016-10-18 11:50:12 +0200
commit01cf3d2ebd7e4b189121a4818dae19ccad52bfbd (patch)
tree79505a504aa78e52d436f2c571bba7f66b53249e /graphics/fonts/bdf.cpp
parent6751bc39b4565b30108010317fbac45dfe969409 (diff)
downloadscummvm-rg350-01cf3d2ebd7e4b189121a4818dae19ccad52bfbd.tar.gz
scummvm-rg350-01cf3d2ebd7e4b189121a4818dae19ccad52bfbd.tar.bz2
scummvm-rg350-01cf3d2ebd7e4b189121a4818dae19ccad52bfbd.zip
GRAPHICS: Remove debug leftover
Diffstat (limited to 'graphics/fonts/bdf.cpp')
-rw-r--r--graphics/fonts/bdf.cpp2
1 files changed, 0 insertions, 2 deletions
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);