aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LineMarker.cxx')
-rw-r--r--src/LineMarker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index 10693c749..5bfb89307 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -542,7 +542,7 @@ void LineMarker::Draw(Surface *surface, const PRectangle &rcWhole, const Font *f
default:
if (markType >= MarkerSymbol::Character) {
- char character[UTF8MaxBytes + 1];
+ char character[UTF8MaxBytes + 1] {};
const int uch = static_cast<int>(markType) - static_cast<int>(MarkerSymbol::Character);
UTF8FromUTF32Character(uch, character);
const XYPOSITION width = surface->WidthTextUTF8(fontForCharacter, character);