On 24 Sep, Daniel Silverstone wrote in message
<20100924152714.GB4875(a)digital-scurf.org>:
> Index: desktop/tree.h
> +/* Tree flags */
> +#define TREE_NO_FLAGS 0
> +#define TREE_NO_DRAGS 1
> +#define TREE_NO_FURNITURE 2
> +#define TREE_SINGLE_SELECT 4
> +#define TREE_NO_SELECT 8
> +#define TREE_MOVABLE 16
> +/* if the last child of a directory is deleted the directory will be
> + deleted too */
> +#define TREE_DELETE_EMPTY_DIRS 16
It'd be nice if these flags were an enum too.
In addition to which, I've got a note from when I looked at this code last,
wondering whether that shouldn't in fact be
#define TREE_DELETE_EMPTY_DIRS 32
so as not to clash with TREE_MOVABLE?
--
Steve Fryatt - Leeds, England
http://www.stevefryatt.org.uk/