* lisp.h (CHECK_RANGED_INTEGER): Make value to check the first
[bpt/emacs.git] / src / window.c
index 7691eb4..df2c04a 100644 (file)
@@ -6163,7 +6163,7 @@ Fourth parameter HORIZONTAL-TYPE is currently unused.  */)
 
   if (!NILP (width))
     {
-      CHECK_RANGED_INTEGER (0, width, INT_MAX);
+      CHECK_RANGED_INTEGER (width, 0, INT_MAX);
 
       if (XINT (width) == 0)
        vertical_type = Qnil;