Mercurial > hg > xemacs-beta
comparison src/event-stream.c @ 3358:859bd40269e5
[xemacs-hg @ 2006-04-24 16:09:58 by james]
Copy the console when copying command builders. Fixes an assertion failure
when menu-accelerator-enabled is 'menu-force. See the bug report in
xemacs-beta message <4449351B.3020105@google.com> and the patch in
xemacs-patches message <m3psj9yoiq.fsf@jerrypc.cs.usu.edu>.
author | james |
---|---|
date | Mon, 24 Apr 2006 16:10:01 +0000 |
parents | d674024a8674 |
children | 383ab474a241 |
comparison
equal
deleted
inserted
replaced
3357:ed7cbe1ad9bc | 3358:859bd40269e5 |
---|---|
426 copy_command_builder (struct command_builder *collapsing, | 426 copy_command_builder (struct command_builder *collapsing, |
427 struct command_builder *new_buildings) | 427 struct command_builder *new_buildings) |
428 { | 428 { |
429 if (!new_buildings) | 429 if (!new_buildings) |
430 new_buildings = XCOMMAND_BUILDER (allocate_command_builder (Qnil, 0)); | 430 new_buildings = XCOMMAND_BUILDER (allocate_command_builder (Qnil, 0)); |
431 | |
432 new_buildings->console = collapsing->console; | |
431 | 433 |
432 new_buildings->self_insert_countdown = collapsing->self_insert_countdown; | 434 new_buildings->self_insert_countdown = collapsing->self_insert_countdown; |
433 | 435 |
434 deallocate_event_chain (new_buildings->current_events); | 436 deallocate_event_chain (new_buildings->current_events); |
435 new_buildings->current_events = | 437 new_buildings->current_events = |