diff options
-rw-r--r-- | graphics/fonts/bdf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp index 6fa886a905..6d4befa37c 100644 --- a/graphics/fonts/bdf.cpp +++ b/graphics/fonts/bdf.cpp @@ -67,7 +67,7 @@ int BdfFont::getCharWidth(byte chr) const { template<typename PixelType> void drawCharIntern(byte *ptr, uint pitch, const byte *src, int h, int width, int minX, int maxX, const PixelType color) { - byte data; + byte data = 0; while (h--) { PixelType *dst = (PixelType *)ptr; |