Should compare to X11 constant "None" since a colormap is an X

Resource ID and not a pointer.
This commit is contained in:
Kevin Holbrook 1999-05-22 18:46:51 +00:00 committed by Alexandre Julliard
parent 7572207564
commit 7894c2212b
1 changed files with 1 additions and 1 deletions

View File

@ -2020,7 +2020,7 @@ static HRESULT WINAPI IDirectDrawPaletteImpl_GetEntries(
This,x,start,count,palent);
/* No palette created and not in depth-convertion mode -> BUG ! */
if ((This->cm == NULL) &&
if ((This->cm == None) &&
(This->ddraw->d.palette_convert == NULL))
{
FIXME(ddraw,"app tried to read colormap for non-palettized mode\n");