changeset 457:e864ed116f26

- Fixed a segfault bug in the test/ directory.
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 28 Nov 2008 15:17:53 -0300
parents 8f5960b05aef
children 32363eb05dfc
files ChangeLog test/form.cc
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 23 15:11:32 2008 +0100
+++ b/ChangeLog	Fri Nov 28 15:17:53 2008 -0300
@@ -16,6 +16,7 @@
  - Switched a_UIcmd_save() to take its URL from history (not location bar).
  - Set prefs.vw_fontname as deafult font for the UI.
  - Fix: recover page focus when clicking-out of a widget.
+ - Fixed a segfault bug in the test/ directory.
    Patches: place (AKA corvid)
 +- Switched SSL-enabled to configure.in (./configure --enable-ssl).
  - Standardised the installation of dpid/dpidrc with auto* tools.
--- a/test/form.cc	Sun Nov 23 15:11:32 2008 +0100
+++ b/test/form.cc	Fri Nov 28 15:17:53 2008 -0300
@@ -60,7 +60,7 @@
    this->values = new const char*[n + 1];
    for(int i = 0; i < n; i++)
       this->values[i] = strdup (values[i]);
-   values[n] = 0;
+   this->values[n] = 0;
 }
 
 Form::RadioButtonResourceDecorator::~RadioButtonResourceDecorator ()