diff --git a/src/Core/Resource/CFont.cpp b/src/Core/Resource/CFont.cpp index 7cb376a7..aee03b4a 100644 --- a/src/Core/Resource/CFont.cpp +++ b/src/Core/Resource/CFont.cpp @@ -130,7 +130,7 @@ CVector2f CFont::RenderString(const TString& rkString, CRenderer* /*pRenderer*/, // Draw stroke if (mTextureFormat == 1 || mTextureFormat == 3 || mTextureFormat == 8) { - uint8 StrokeLayer; + uint8 StrokeLayer = 0; if (mTextureFormat == 1) StrokeLayer = 1; else if (mTextureFormat == 3)