mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
- Don't use object that's already unlocked.
svn path=/trunk/; revision=9418
This commit is contained in:
parent
eb9fa5b0a5
commit
caa8f5caae
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: color.c,v 1.40 2004/05/14 22:20:46 navaraf Exp $ */
|
||||
/* $Id: color.c,v 1.41 2004/05/16 19:42:32 navaraf Exp $ */
|
||||
#include <w32k.h>
|
||||
|
||||
// FIXME: Use PXLATEOBJ logicalToSystem instead of int *mapping
|
||||
|
@ -364,7 +364,7 @@ UINT STDCALL NtGdiRealizePalette(HDC hDC)
|
|||
if(dc->w.flags != DC_MEMORY)
|
||||
{
|
||||
// Device managed DC
|
||||
palGDI->logicalToSystem = IntEngCreateXlate(sysGDI->Mode, palGDI->Mode, systemPalette, dc->w.hPalette);
|
||||
palGDI->logicalToSystem = IntEngCreateXlate(sysMode, palMode, systemPalette, dc->w.hPalette);
|
||||
}
|
||||
|
||||
DC_UnlockDc(hDC);
|
||||
|
|
Loading…
Reference in a new issue