diff options
author | Franklin Wei <git@fwei.tk> | 2017-08-27 15:41:41 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-08-27 15:43:11 -0400 |
commit | 1cd96b4931cfe3a973ae528c505c494735154b11 (patch) | |
tree | 30332d2ce5316286d554c6bfed47c3a2c7109626 | |
parent | b31ae4554a21aa5c3f57db03e9496ce1a65ce381 (diff) | |
download | rockbox-1cd96b4.tar.gz rockbox-1cd96b4.zip |
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
-rw-r--r-- | apps/plugins/keybox.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |