comparison src/alloc.c @ 6492:8372dce85f8a

(make_event_array): Use assignment, not initialization.
author Karl Heuer <kwzh@gnu.org>
date Wed, 23 Mar 1994 22:25:25 +0000
parents f91d4884806e
children e3daba09b015
comparison
equal deleted inserted replaced
6491:21d52b9fd783 6492:8372dce85f8a
980 return Fvector (nargs, args); 980 return Fvector (nargs, args);
981 981
982 /* Since the loop exited, we know that all the things in it are 982 /* Since the loop exited, we know that all the things in it are
983 characters, so we can make a string. */ 983 characters, so we can make a string. */
984 { 984 {
985 Lisp_Object result = Fmake_string (nargs, make_number (0)); 985 Lisp_Object result;
986 986
987 result = Fmake_string (nargs, make_number (0));
987 for (i = 0; i < nargs; i++) 988 for (i = 0; i < nargs; i++)
988 { 989 {
989 XSTRING (result)->data[i] = XINT (args[i]); 990 XSTRING (result)->data[i] = XINT (args[i]);
990 /* Move the meta bit to the right place for a string char. */ 991 /* Move the meta bit to the right place for a string char. */
991 if (XINT (args[i]) & CHAR_META) 992 if (XINT (args[i]) & CHAR_META)