Updated strdup
This commit is contained in:
parent
2bea1b3e2b
commit
a00eabfcdf
1 changed files with 1 additions and 1 deletions
|
@ -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()->
|
||||
|
|
Loading…
Reference in a new issue