comparison src/frame.c @ 9831:b64a82db92a3

(Fset_frame_height): Compare against height, not width.
author Karl Heuer <kwzh@gnu.org>
date Tue, 08 Nov 1994 02:43:25 +0000
parents a7d3e357a3f3
children 5db59a2f9370
comparison
equal deleted inserted replaced
9830:8d151c06dc8b 9831:b64a82db92a3
1608 1608
1609 /* I think this should be done with a hook. */ 1609 /* I think this should be done with a hook. */
1610 #ifdef HAVE_X_WINDOWS 1610 #ifdef HAVE_X_WINDOWS
1611 if (FRAME_X_P (f)) 1611 if (FRAME_X_P (f))
1612 { 1612 {
1613 if (XINT (rows) != f->width) 1613 if (XINT (rows) != f->height)
1614 x_set_window_size (f, 1, f->width, XINT (rows)); 1614 x_set_window_size (f, 1, f->width, XINT (rows));
1615 } 1615 }
1616 else 1616 else
1617 #endif 1617 #endif
1618 change_frame_size (f, XINT (rows), 0, !NILP (pretend), 0); 1618 change_frame_size (f, XINT (rows), 0, !NILP (pretend), 0);