On Fri, Apr 29, 2011 at 02:01:16PM +0200, Gerd Hoffmann wrote: > >+static const char *qxl_mode_to_string(int mode) > >+{ > >+ switch (mode) { > >+ case QXL_MODE_COMPAT: > >+ return "compat"; > >+ case QXL_MODE_NATIVE: > >+ return "native"; > >+ case QXL_MODE_UNDEFINED: > >+ return "undefined"; > >+ case QXL_MODE_VGA: > >+ return "vga"; > >+ } > >+ return "unknown"; > > Make that "INVALID"? There never ever should be another move value ... True, will do.
> > cheers, > Gerd