diff options
| -rw-r--r-- | apps/dbtree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dbtree.c b/apps/dbtree.c index 359419c..480564d 100644 --- a/apps/dbtree.c +++ b/apps/dbtree.c @@ -372,6 +372,9 @@ int db_load(struct tree_context* c) lseek(fd, skip, SEEK_CUR); hits++; + + if(table==songs4artist) + c->dirlength=hits; /* next name is stored immediately after this */ nptr = (void*)nptr + strlen((char*)nptr) + 1; |