aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-09-10 22:01:47 -0500
committerColin Snover2017-09-10 22:17:17 -0500
commit4706a8486eacb5a189e2e5d4e478c499f0f31039 (patch)
treed9d64b4d3aef1fe22a8f9a538ece01473a0c29d4
parent200c8c442b21f20ac36636db58a12321c1479025 (diff)
downloadscummvm-rg350-4706a8486eacb5a189e2e5d4e478c499f0f31039.tar.gz
scummvm-rg350-4706a8486eacb5a189e2e5d4e478c499f0f31039.tar.bz2
scummvm-rg350-4706a8486eacb5a189e2e5d4e478c499f0f31039.zip
GRAPHICS: Remove dead code in BDF loadCharacter code
-rw-r--r--graphics/fonts/bdf.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp
index 511ea5cde1..00e98316d6 100644
--- a/graphics/fonts/bdf.cpp
+++ b/graphics/fonts/bdf.cpp
@@ -275,9 +275,6 @@ byte *loadCharacter(Common::SeekableReadStream &stream, int &encoding, int &adva
return bitmap;
}
}
-
- delete[] bitmap;
- return 0;
}
void freeBitmaps(byte **bitmaps, int size) {