From a00eabfcdf89c9f4fc4459aa70e6d819b0cd5c1c Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 14 Dec 2001 09:48:32 +0000 Subject: Updated strdup --- src/Workspace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Workspace.cc b/src/Workspace.cc index 48b0d67..5ce3771 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -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()-> -- cgit v0.11.2