diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-10-22 12:50:14 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-10-22 12:50:14 +0000 |
commit | 368e89e3bc88446c8fac3d5cfca266061f4e77fb (patch) | |
tree | cf79403e4923e09c5801454077d8fc17685efe1d /apps/tree.h | |
parent | 082c7d3c6b6a868efb4340c34918e7aa2114f07f (diff) | |
download | rockbox-368e89e3bc88446c8fac3d5cfca266061f4e77fb.tar.gz rockbox-368e89e3bc88446c8fac3d5cfca266061f4e77fb.tar.bz2 rockbox-368e89e3bc88446c8fac3d5cfca266061f4e77fb.zip |
simplify rockbox_browse a bit and reuse buffer.
use const for argument of set_current_file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28328 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.h')
-rw-r--r-- | apps/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.h b/apps/tree.h index 993d1b4569..a74960f7a5 100644 --- a/apps/tree.h +++ b/apps/tree.h @@ -75,7 +75,7 @@ void tree_mem_init(void) INIT_ATTR; void tree_gui_init(void) INIT_ATTR; char* get_current_file(char* buffer, size_t buffer_len); void set_dirfilter(int l_dirfilter); -void set_current_file(char *path); +void set_current_file(const char *path); int rockbox_browse(const char *root, int dirfilter); bool create_playlist(void); void resume_directory(const char *dir); |