GDISelectPalette16 checked GetObjectType() return value for
PALETTE_MAGIC instead of OBJ_PAL.

diff --git a/objects/palette.c b/objects/palette.c
index b5dd0c5..046fe31 100644
--- a/objects/palette.c
+++ b/objects/palette.c
@@ -644,7 +644,7 @@
 
     TRACE("%04x %04x\n", hdc, hpal );
 
-    if (GetObjectType(hpal) != PALETTE_MAGIC)
+    if (GetObjectType(hpal) != OBJ_PAL)
     {
       WARN("invalid selected palette %04x\n",hpal);
       return 0;