diff options
author | fluxgen <fluxgen> | 2001-12-14 09:48:32 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2001-12-14 09:48:32 (GMT) |
commit | a00eabfcdf89c9f4fc4459aa70e6d819b0cd5c1c (patch) | |
tree | 99cf024d7c5fa9208d1bfc99535ab59e040e2fcc | |
parent | 2bea1b3e2bba3d59345cffb0efc1ce8d5d629af2 (diff) | |
download | fluxbox_lack-a00eabfcdf89c9f4fc4459aa70e6d819b0cd5c1c.zip fluxbox_lack-a00eabfcdf89c9f4fc4459aa70e6d819b0cd5c1c.tar.bz2 |
Updated strdup
-rw-r--r-- | src/Workspace.cc | 2 |
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()-> |