From fd3604be44dcb3ea35315af543cbd26231110bc1 Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Sat, 22 Feb 2014 01:04:40 -0500 Subject: [PATCH] small fix --- src/chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.c b/src/chat.c index a62b94e..d89bfdd 100644 --- a/src/chat.c +++ b/src/chat.c @@ -566,7 +566,7 @@ static void chat_onDraw(ToxWindow *self, Tox *m) int i; for (i = 0; i < KEY_IDENT_DIGITS; ++i) - wprintw(statusbar->topline, "%x", friends[self->num].pub_key[i] & 0xff); + wprintw(statusbar->topline, "%02X", friends[self->num].pub_key[i] & 0xff); wprintw(statusbar->topline, "}\n"); mvwhline(ctx->linewin, 0, 0, ACS_HLINE, x2);