comparison src/device-tty.c @ 149:538048ae2ab8 r20-3b1

Import from CVS: tag r20-3b1
author cvs
date Mon, 13 Aug 2007 09:36:16 +0200
parents 9ee227acff29
children 43dd3413c7c7
comparison
equal deleted inserted replaced
148:f659db2a1f73 149:538048ae2ab8
144 144
145 if (!DEVICE_TTY_P (d)) 145 if (!DEVICE_TTY_P (d))
146 continue; 146 continue;
147 147
148 get_tty_device_size (d, &width, &height); 148 get_tty_device_size (d, &width, &height);
149 if (width > 0 && height > 0) 149 if (width > 0 && height > 0
150 && (CONSOLE_TTY_DATA (con)->width != width
151 || CONSOLE_TTY_DATA (con)->height != height))
150 { 152 {
151 CONSOLE_TTY_DATA (con)->width = width; 153 CONSOLE_TTY_DATA (con)->width = width;
152 CONSOLE_TTY_DATA (con)->height = height; 154 CONSOLE_TTY_DATA (con)->height = height;
153 155
154 for (tail = DEVICE_FRAME_LIST (d); 156 for (tail = DEVICE_FRAME_LIST (d);