mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user