From 36a2e3087295385d15797f83120222ff71dc32bf Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 18 Apr 2007 13:03:01 +0000 Subject: Move the inbuilt filetype info into filetypes.c and rename the defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13201 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gui') diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 6bf584fc6a..0819d122f5 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -28,7 +28,7 @@ #include "backlight.h" #include "action.h" #include "kernel.h" -#include "tree.h" +#include "filetypes.h" #include "debug.h" #include "sprintf.h" #include "settings.h" @@ -236,7 +236,7 @@ long gui_wps_show(void) show_main_backdrop(); #endif action_signalscreenchange(); - if (onplay(wps_state.id3->path, TREE_ATTR_MPA, CONTEXT_WPS) + if (onplay(wps_state.id3->path, FILE_ATTR_AUDIO, CONTEXT_WPS) == ONPLAY_MAINMENU) return GO_TO_ROOT; #if LCD_DEPTH > 1 -- cgit v1.2.3