changeset 110483:2892adf3a65b

w32.c (get_emacs_configuration_options): Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 22 Sep 2010 20:39:51 +0200
parents 99986de658d5
children 7ca55779eeef
files src/w32.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32.c	Wed Sep 22 19:31:21 2010 +0200
+++ b/src/w32.c	Wed Sep 22 20:39:51 2010 +0200
@@ -1963,6 +1963,7 @@
     size += strlen (options[i]);
 
   options_buffer = xmalloc (size + 1);
+  options_buffer[0] = '\0';
 
   for (i = 0; options[i]; i++)
     strcat (options_buffer, options[i]);