comparison src/console-x.c @ 2837:c1ec282bb160

[xemacs-hg @ 2005-06-29 09:47:33 by crestani] 2005-06-28 Marcus Crestani <crestani@xemacs.org> * console-x.c (x_perhaps_init_unseen_key_defaults): Use build_intstring to avoid type error. * event-Xt.c (x_keysym_to_emacs_keysym): Add cast to avoid type error.
author crestani
date Wed, 29 Jun 2005 09:47:35 +0000
parents a25c824ed558
children 77f5a5135b3a
comparison
equal deleted inserted replaced
2836:c4bc66dfe66a 2837:c1ec282bb160
331 { 331 {
332 Ibyte buf[MAX_ICHAR_LEN + 1]; 332 Ibyte buf[MAX_ICHAR_LEN + 1];
333 CHECK_CHAR(key); 333 CHECK_CHAR(key);
334 334
335 buf[set_itext_ichar(buf, XCHAR(key))] = '\0'; 335 buf[set_itext_ichar(buf, XCHAR(key))] = '\0';
336 key_name = build_string(buf); 336 key_name = build_intstring (buf);
337 337
338 /* We need to do the lookup and compare later, because we can't check 338 /* We need to do the lookup and compare later, because we can't check
339 the Qcharacter_of_keysym property belonging to an actual character. */ 339 the Qcharacter_of_keysym property belonging to an actual character. */
340 previous_binding = Flookup_key (Vcurrent_global_map, key, Qnil); 340 previous_binding = Flookup_key (Vcurrent_global_map, key, Qnil);
341 } 341 }