mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
(init_keyboard): Don't malloc a new structure;
initial_kboard should already exist for that.
This commit is contained in:
parent
3954fff9cf
commit
aaca43a1fb
1 changed files with 2 additions and 8 deletions
|
|
@ -6614,16 +6614,10 @@ init_keyboard ()
|
|||
Vlast_event_frame = internal_last_event_frame;
|
||||
#endif
|
||||
|
||||
if (!initialized)
|
||||
{
|
||||
#ifdef MULTI_KBOARD
|
||||
current_kboard = (KBOARD *)xmalloc (sizeof (KBOARD));
|
||||
all_kboards = current_kboard;
|
||||
current_kboard = initial_kboard;
|
||||
#endif
|
||||
current_kboard->next_kboard = 0;
|
||||
}
|
||||
if (initialized)
|
||||
wipe_kboard (current_kboard);
|
||||
wipe_kboard (current_kboard);
|
||||
init_kboard (current_kboard);
|
||||
|
||||
if (initialized)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue