mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
Do not create crash/bsod log when u logoff or shutdown of ReactOS.
svn path=/trunk/; revision=22014
This commit is contained in:
parent
fc40c38034
commit
238be0b59c
|
@ -275,10 +275,15 @@ IntEngCreateXlate(USHORT DestPalType, USHORT SourcePalType,
|
|||
*/
|
||||
|
||||
end:
|
||||
if (PaletteDest != NULL)
|
||||
if (PaletteDest != PaletteSource)
|
||||
if (DestPalGDI != NULL)
|
||||
PALETTE_UnlockPalette(DestPalGDI);
|
||||
|
||||
|
||||
if (PaletteSource != NULL)
|
||||
PALETTE_UnlockPalette(SourcePalGDI);
|
||||
if (PaletteDest != NULL && PaletteDest != PaletteSource)
|
||||
PALETTE_UnlockPalette(DestPalGDI);
|
||||
|
||||
return XlateObj;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue