From 5c8a2f5835f0980f7d1646c6c9288235b7e3499b Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Tue, 22 Jun 2004 09:16:44 +0000 Subject: sort options for files & directories git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4789 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'apps/tree.h') diff --git a/apps/tree.h b/apps/tree.h index a0015b6e76..01f3669477 100644 --- a/apps/tree.h +++ b/apps/tree.h @@ -36,15 +36,16 @@ struct filetype { /* using attribute not used by FAT */ -#define TREE_ATTR_MPA 0x0100 /* mpeg audio file */ +/* (this also reflects the sort order if by type) */ +#define TREE_ATTR_BMARK 0x0100 /* book mark file */ #define TREE_ATTR_M3U 0x0200 /* playlist */ -#define TREE_ATTR_WPS 0x0300 /* wps config file */ -#define TREE_ATTR_MOD 0x0400 /* firmware file */ -#define TREE_ATTR_CFG 0x0500 /* config file */ +#define TREE_ATTR_MPA 0x0300 /* mpeg audio file */ +#define TREE_ATTR_CFG 0x0400 /* config file */ +#define TREE_ATTR_WPS 0x0500 /* wps config file */ #define TREE_ATTR_FONT 0x0600 /* font file */ #define TREE_ATTR_LNG 0x0700 /* binary lang file */ #define TREE_ATTR_ROCK 0x0800 /* binary rockbox plugin */ -#define TREE_ATTR_BMARK 0x0900 /* book mark file */ +#define TREE_ATTR_MOD 0x0900 /* firmware file */ #define TREE_ATTR_MASK 0xFFC0 /* which bits tree.c uses (above) */ void tree_get_filetypes(struct filetype**, int*); -- cgit v1.2.3