diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c index 6b496919b0..16e0f988dc 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -912,7 +912,7 @@ static int dirbrowse(void) | |||
912 | return true; | 912 | return true; |
913 | } | 913 | } |
914 | 914 | ||
915 | bool create_playlist(void) | 915 | int create_playlist(void) |
916 | { | 916 | { |
917 | char filename[MAX_PATH + 16]; /* add enough space for extension */ | 917 | char filename[MAX_PATH + 16]; /* add enough space for extension */ |
918 | 918 | ||
@@ -924,14 +924,14 @@ bool create_playlist(void) | |||
924 | 924 | ||
925 | 925 | ||
926 | if (kbd_input(filename, MAX_PATH)) | 926 | if (kbd_input(filename, MAX_PATH)) |
927 | return false; | 927 | return 0; |
928 | splashf(0, "%s %s", str(LANG_CREATING), filename); | 928 | splashf(0, "%s %s", str(LANG_CREATING), filename); |
929 | 929 | ||
930 | trigger_cpu_boost(); | 930 | trigger_cpu_boost(); |
931 | catalog_add_to_a_playlist(tc.currdir, ATTR_DIRECTORY, true, filename); | 931 | catalog_add_to_a_playlist(tc.currdir, ATTR_DIRECTORY, true, filename); |
932 | cancel_cpu_boost(); | 932 | cancel_cpu_boost(); |
933 | 933 | ||
934 | return true; | 934 | return 1; |
935 | } | 935 | } |
936 | 936 | ||
937 | void browse_context_init(struct browse_context *browse, | 937 | void browse_context_init(struct browse_context *browse, |