Updated strdup

This commit is contained in:
fluxgen 2001-12-14 09:48:32 +00:00
parent 2bea1b3e2b
commit a00eabfcdf

View file

@ -309,7 +309,7 @@ void Workspace::setName(char *new_name) {
delete [] name;
if (new_name) {
name = bstrdup(new_name);
name = Misc::strdup(new_name);
} else {
name = new char[128];
sprintf(name, I18n::instance()->