diff --git a/src/frame.c b/src/frame.c index d5b080d..ecab7fe 100644 --- a/src/frame.c +++ b/src/frame.c @@ -350,10 +350,13 @@ struct frame * struct frame *f = XFRAME (frame); Lisp_Object par_size; - if ((!NILP (horizontal) - && NUMBERP (par_size = get_frame_param (f, Qmin_width))) - || (NILP (horizontal) - && NUMBERP (par_size = get_frame_param (f, Qmin_height)))) + /* The 'min-width' and 'min-height' parameters have no effect on TTY + frames. */ + if (!(FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) + && ((!NILP (horizontal) + && NUMBERP (par_size = get_frame_param (f, Qmin_width))) + || (NILP (horizontal) + && NUMBERP (par_size = get_frame_param (f, Qmin_height))))) { int min_size = XINT (par_size);