mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02:56 +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
1 changed files with 7 additions and 2 deletions
|
@ -275,10 +275,15 @@ IntEngCreateXlate(USHORT DestPalType, USHORT SourcePalType,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
if (PaletteDest != NULL)
|
||||||
|
if (PaletteDest != PaletteSource)
|
||||||
|
if (DestPalGDI != NULL)
|
||||||
|
PALETTE_UnlockPalette(DestPalGDI);
|
||||||
|
|
||||||
|
|
||||||
if (PaletteSource != NULL)
|
if (PaletteSource != NULL)
|
||||||
PALETTE_UnlockPalette(SourcePalGDI);
|
PALETTE_UnlockPalette(SourcePalGDI);
|
||||||
if (PaletteDest != NULL && PaletteDest != PaletteSource)
|
|
||||||
PALETTE_UnlockPalette(DestPalGDI);
|
|
||||||
return XlateObj;
|
return XlateObj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue