On Sep 5, 2007, at 11:05 AM, Peter Lu wrote:

   case 8:
   case 16:
        inf->modes[0].bpp = bpp;
        inf->modes[0].nonstd = 0; // standard bpp

I'm not sure where it's getting set to something other than 0 either, but it's prudent to set nonstd=0 there.  I've also added an if() there to make sure you didn't specify /xyz and to error out if you did for those bpps.  subversion r1518

C