]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and
authorAndrew Innes <andrewi@gnu.org>
Mon, 5 Nov 2001 23:15:36 +0000 (23:15 +0000)
committerAndrew Innes <andrewi@gnu.org>
Mon, 5 Nov 2001 23:15:36 +0000 (23:15 +0000)
CHECK_NUMBER_CDR.

src/w32proc.c

index a808bc5e001d026bcb77ebc447b4a4bac02272fb..56ec9349e8d2d40cab2d837508721856415c746d 100644 (file)
@@ -2094,8 +2094,8 @@ If successful, the new layout id is returned, otherwise nil.")
   DWORD kl;
 
   CHECK_CONS (layout);
-  CHECK_NUMBER (XCAR (layout));
-  CHECK_NUMBER (XCDR (layout));
+  CHECK_NUMBER_CAR (layout);
+  CHECK_NUMBER_CDR (layout);
 
   kl = (XINT (XCAR (layout)) & 0xffff)
     | (XINT (XCDR (layout)) << 16);