summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-03-07 19:56:15 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-03-07 19:56:15 +0000
commit8137489e2b967e40c15005c8a4c09903a8a24fc4 (patch)
tree752564abdbe09360dcc97da686d3e45f244578a2 /apps/main.c
parent99b2742cd0de7181677f3aa7222caa5dc358ee12 (diff)
downloadrockbox-8137489e2b967e40c15005c8a4c09903a8a24fc4.zip
rockbox-8137489e2b967e40c15005c8a4c09903a8a24fc4.tar.gz
rockbox-8137489e2b967e40c15005c8a4c09903a8a24fc4.tar.bz2
rockbox-8137489e2b967e40c15005c8a4c09903a8a24fc4.tar.xz
Lead user through database initialisation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12678 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index a1ea75f..fe397c7 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -207,10 +207,12 @@ static void init_tagcache(void)
{
#ifdef HAVE_LCD_BITMAP
gui_syncsplash(0, true, "%s [%d/%d]",
- str(LANG_TAGCACHE_INIT), ret, 7);
+ str(LANG_TAGCACHE_INIT), ret,
+ tagcache_get_max_commit_step());
#else
lcd_double_height(false);
- snprintf(buf, sizeof(buf), " TC [%d/%d]", ret, 7);
+ snprintf(buf, sizeof(buf), " TC [%d/%d]", ret,
+ tagcache_get_max_commit_step());
lcd_puts(0, 1, buf);
#endif
clear = true;