comparison src/xmenu.c @ 9341:e5ecfda9e730

(single_keymap_panes, Fx_popup_menu): Don't use XFASTINT as an lvalue.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 19:49:16 +0000
parents 8a59acc95eea
children c5a0a84a76a7
comparison
equal deleted inserted replaced
9340:97cfba406b7b 9341:e5ecfda9e730
534 int len = XVECTOR (item)->size; 534 int len = XVECTOR (item)->size;
535 int c; 535 int c;
536 for (c = 0; c < len; c++) 536 for (c = 0; c < len; c++)
537 { 537 {
538 Lisp_Object character; 538 Lisp_Object character;
539 XFASTINT (character) = c; 539 XSETFASTINT (character, c);
540 item1 = XVECTOR (item)->contents[c]; 540 item1 = XVECTOR (item)->contents[c];
541 if (CONSP (item1)) 541 if (CONSP (item1))
542 { 542 {
543 item_string = XCONS (item1)->car; 543 item_string = XCONS (item1)->car;
544 if (STRINGP (item_string)) 544 if (STRINGP (item_string))
729 if (new_f != 0) 729 if (new_f != 0)
730 XSETFRAME (window, new_f); 730 XSETFRAME (window, new_f);
731 else 731 else
732 { 732 {
733 window = selected_window; 733 window = selected_window;
734 XFASTINT (x) = 0; 734 XSETFASTINT (x, 0);
735 XFASTINT (y) = 0; 735 XSETFASTINT (y, 0);
736 } 736 }
737 } 737 }
738 else 738 else
739 { 739 {
740 tem = Fcar (position); 740 tem = Fcar (position);