aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-05-22 21:19:36 +0200
committerjcid <devnull@localhost>2008-05-22 21:19:36 +0200
commitdd92ec5e90ccd4a552563b06c3e87d7618599745 (patch)
treec29b8e7f39eb87dd2123af755fff4d098898be2a /src/form.cc
parentfd2515a4fa2d803750067f1b2201fabedc0340b1 (diff)
- s/strdup/dStrdup/
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc
index 79867a65..73464f5d 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -7,7 +7,7 @@ using namespace dw::core::ui;
Form::ResourceDecorator::ResourceDecorator (const char *name)
{
- this->name = strdup (name);
+ this->name = dStrdup (name);
}
Form::ResourceDecorator::~ResourceDecorator ()
@@ -38,7 +38,7 @@ Form::RadioButtonResourceDecorator::RadioButtonResourceDecorator
n++;
this->values = new const char*[n];
for(int i = 0; i < n; i++)
- this->values[i] = strdup (values[i]);
+ this->values[i] = dStrdup (values[i]);
values[n] = 0;
}