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 /apps/plugins | |
parent | b31ae4554a21aa5c3f57db03e9496ce1a65ce381 (diff) | |
download | rockbox-1cd96b4931cfe3a973ae528c505c494735154b11.tar.gz rockbox-1cd96b4931cfe3a973ae528c505c494735154b11.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
Diffstat (limited to 'apps/plugins')
-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) | |||
314 | if (entry->next) | 314 | if (entry->next) |
315 | entry = entry->next; | 315 | entry = entry->next; |
316 | } | 316 | } |
317 | if (entry->name != '\0') | 317 | if (entry->name[0] != '\0') |
318 | rb->splashf(0, "%s %s", entry->name, entry->password); | 318 | rb->splashf(0, "%s %s", entry->name, entry->password); |
319 | else | 319 | else |
320 | rb->splashf(0, "%s", entry->password); | 320 | rb->splashf(0, "%s", entry->password); |