On Mon, Feb 09, 2009 at 05:16:52PM +0100, phcoder wrote: > - if (filetype == GRUB_FSHELP_DIR) > + if ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR)
Uhm actually I don't understand why you need a mask for this. filetype is an enum, which we define ourselves. What's the root of the problem? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel