src/w32.c (get_emacs_configuration_options): Fix previous change.
This commit is contained in:
parent
4234374700
commit
83e245c490
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-09-26 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* w32.c (get_emacs_configuration_options): Fix previous change.
|
||||
|
||||
2010-09-25 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* insdel.c (prepare_to_modify_buffer): Ensure the mark marker is
|
||||
|
|
|
@ -1956,8 +1956,9 @@ get_emacs_configuration_options (void)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
if (_snprintf (cv, sizeof (cv), COMPILER_VERSION) < 0)
|
||||
if (_snprintf (cv, sizeof (cv) - 1, COMPILER_VERSION) < 0)
|
||||
return "Error: not enough space for compiler version";
|
||||
cv[sizeof (cv) - 1] = '\0';
|
||||
|
||||
for (i = 0; options[i]; i++)
|
||||
size += strlen (options[i]);
|
||||
|
|
Loading…
Add table
Reference in a new issue