summary refs log tree commit diff stats
path: root/widgets/msgviewer.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msgviewer.go')
-rw-r--r--widgets/msgviewer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 9c75972..35fc4b6 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -702,8 +702,8 @@ func (hv *HeaderView) Draw(ctx *ui.Context) {
 		hstyle = tcell.StyleDefault.Bold(true)
 	}
 	ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', vstyle)
-	ctx.Printf(0, 0, hstyle, name)
-	ctx.Printf(size, 0, vstyle, value)
+	ctx.Printf(0, 0, hstyle, "%s", name)
+	ctx.Printf(size, 0, vstyle, "%s", value)
 }
 
 func (hv *HeaderView) Invalidate() {