aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Workspace.cc2
1 files changed, 1 insertions, 1 deletions
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) {
309 delete [] name; 309 delete [] name;
310 310
311 if (new_name) { 311 if (new_name) {
312 name = bstrdup(new_name); 312 name = Misc::strdup(new_name);
313 } else { 313 } else {
314 name = new char[128]; 314 name = new char[128];
315 sprintf(name, I18n::instance()-> 315 sprintf(name, I18n::instance()->