Commit e9c96c62 authored by Gerd Moellmann's avatar Gerd Moellmann

(make_frame): Use allocate_frame.

parent 26605be9
/* Generic frame functions.
Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000 Free Software Foundation.
Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001
Free Software Foundation.
This file is part of GNU Emacs.
......@@ -198,14 +199,8 @@ make_frame (mini_p)
register struct frame *f;
register Lisp_Object root_window;
register Lisp_Object mini_window;
register struct Lisp_Vector *vec;
int i;
vec = allocate_vectorlike ((EMACS_INT) VECSIZE (struct frame));
for (i = 0; i < VECSIZE (struct frame); i++)
XSETFASTINT (vec->contents[i], 0);
vec->size = VECSIZE (struct frame);
f = (struct frame *)vec;
f = allocate_frame ();
XSETFRAME (frame, f);
f->desired_matrix = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment