Commit e55032f1 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Fix addressing the magic GDIOBJHDR field in

SYSCOLOR_MakeObjectSystem.
parent 10212199
......@@ -109,9 +109,9 @@ static void SYSCOLOR_MakeObjectSystem( HGDIOBJ16 handle, BOOL set)
/* touch the "system" bit of the wMagic field of a GDIOBJHDR */
if (set)
*(ptr+1) &= ~OBJECT_NOSYSTEM;
*ptr &= ~OBJECT_NOSYSTEM;
else
*(ptr+1) |= OBJECT_NOSYSTEM;
*ptr |= OBJECT_NOSYSTEM;
LOCAL_Unlock( heap_sel, handle );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment