FS#11272 by Gerhard Zintel fixing a bug when resetting the database in keybox
authornls <nls@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 May 2010 22:21:09 +0000 (13 22:21 +0000)
committernls <nls@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 May 2010 22:21:09 +0000 (13 22:21 +0000)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26004 a1c6a512-1295-4272-9138-f99709370657

apps/plugins/keybox.c
docs/CREDITS

index c6b060c..a241e40 100644 (file)
@@ -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();
     }
 }
index 6991331..9821eff 100644 (file)
@@ -539,6 +539,7 @@ Tore Johnny BrĂ„tveit
 Marcin Bukat
 Andrew Rodland
 Luca Leonardo Scorcia
+Gerhard Zintel
 
 The libmad team
 The wavpack team