comparison src/msdos.c @ 185:3d6bfa290dbd r20-3b19

Import from CVS: tag r20-3b19
author cvs
date Mon, 13 Aug 2007 09:55:28 +0200
parents 8eaf7971accc
children 850242ba4a81
comparison
equal deleted inserted replaced
184:bcd2674570bf 185:3d6bfa290dbd
1637 1637
1638 /* Just in case we got here without a mouse present... */ 1638 /* Just in case we got here without a mouse present... */
1639 if (have_mouse <= 0) 1639 if (have_mouse <= 0)
1640 return XM_IA_SELECT; 1640 return XM_IA_SELECT;
1641 1641
1642 state = alloca (menu->panecount * sizeof (struct IT_menu_state)); 1642 state = alloca_array (struct IT_menu_state, menu->panecount);
1643 screensize = screen_size * 2; 1643 screensize = screen_size * 2;
1644 faces[0] 1644 faces[0]
1645 = compute_glyph_face (&the_only_frame, 1645 = compute_glyph_face (&the_only_frame,
1646 face_name_id_number 1646 face_name_id_number
1647 (&the_only_frame, 1647 (&the_only_frame,
2159 int i, len; 2159 int i, len;
2160 2160
2161 lst = Vprocess_environment; 2161 lst = Vprocess_environment;
2162 len = XINT (Flength (lst)); 2162 len = XINT (Flength (lst));
2163 2163
2164 envv = alloca ((len + 1) * sizeof (char *)); 2164 envv = alloca_array (char *, len + 1);
2165 for (i = 0; i < len; i++) 2165 for (i = 0; i < len; i++)
2166 { 2166 {
2167 tmp = Fcar (lst); 2167 tmp = Fcar (lst);
2168 lst = Fcdr (lst); 2168 lst = Fcdr (lst);
2169 CHECK_STRING (tmp); 2169 CHECK_STRING (tmp);