From 1cd96b4931cfe3a973ae528c505c494735154b11 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 27 Aug 2017 15:41:41 -0400 Subject: Keybox: display the entry name along with the password The dereference of entry->name was originally omitted, which meant that only the password would ever be displayed. Change-Id: If368a2d3dd9ddf0a253d28b9db5b98d639cfb30b --- apps/plugins/keybox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/keybox.c b/apps/plugins/keybox.c index 8dc485ae9a..d692c88419 100644 --- a/apps/plugins/keybox.c +++ b/apps/plugins/keybox.c @@ -314,7 +314,7 @@ static void splash_pw(int selected_item) if (entry->next) entry = entry->next; } - if (entry->name != '\0') + if (entry->name[0] != '\0') rb->splashf(0, "%s %s", entry->name, entry->password); else rb->splashf(0, "%s", entry->password); -- cgit v1.2.3