Commit 83e245c4 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

src/w32.c (get_emacs_configuration_options): Fix previous change.

parent 42343747
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]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment