summaryrefslogtreecommitdiffstats
path: root/apps/plugins/keybox.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-05-13 22:21:09 +0000
committerNils Wallménius <nils@rockbox.org>2010-05-13 22:21:09 +0000
commit0b52d34313b90f42412691f749b03448754f915b (patch)
treea9f251eb7f7b375aca5656ef07fb20ef105949b9 /apps/plugins/keybox.c
parent90963dcc0b46197f336cc8f9ec7399628a64fe6f (diff)
downloadrockbox-0b52d34313b90f42412691f749b03448754f915b.tar.gz
rockbox-0b52d34313b90f42412691f749b03448754f915b.tar.bz2
rockbox-0b52d34313b90f42412691f749b03448754f915b.zip
FS#11272 by Gerhard Zintel fixing a bug when resetting the database in keybox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26004 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/keybox.c')
-rw-r--r--apps/plugins/keybox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/keybox.c b/apps/plugins/keybox.c
index c6b060c7fd..a241e40440 100644
--- a/apps/plugins/keybox.c
+++ b/apps/plugins/keybox.c
@@ -608,6 +608,7 @@ static void reset(void)
rb->remove(KEYBOX_FILE);
rb->memset(&buffer, 0, sizeof(buffer));
rb->memset(&pw_list, 0, sizeof(pw_list));
+ rb->gui_synclist_set_nb_items(&kb_list, 0);
init_ll();
}
}