comparison src/process.c @ 5438:8d29f1c4bb98

Merge with 21.5 trunk.
author Mats Lidell <matsl@xemacs.org>
date Fri, 26 Nov 2010 06:43:36 +0100
parents 308d34e9f07d c096d8051f89
children 56144c8593a8
comparison
equal deleted inserted replaced
5437:002cb5224e4f 5438:8d29f1c4bb98
973 Tell PROCESS that it has logical window size HEIGHT and WIDTH. 973 Tell PROCESS that it has logical window size HEIGHT and WIDTH.
974 */ 974 */
975 (process, height, width)) 975 (process, height, width))
976 { 976 {
977 CHECK_PROCESS (process); 977 CHECK_PROCESS (process);
978 CHECK_NATNUM (height); 978 check_integer_range (height, Qzero, make_integer (EMACS_INT_MAX));
979 CHECK_NATNUM (width); 979 check_integer_range (width, Qzero, make_integer (EMACS_INT_MAX));
980 return 980 return
981 MAYBE_INT_PROCMETH (set_window_size, 981 MAYBE_INT_PROCMETH (set_window_size,
982 (XPROCESS (process), XINT (height), XINT (width))) <= 0 982 (XPROCESS (process), XINT (height), XINT (width))) <= 0
983 ? Qnil : Qt; 983 ? Qnil : Qt;
984 } 984 }