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
This commit is contained in:
Franklin Wei 2017-08-27 15:41:41 -04:00
parent b31ae4554a
commit 1cd96b4931

View file

@ -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);