aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 8e8df5b..304b3c7 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.89 2003/12/30 18:16:51 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.90 2004/01/21 14:14:40 fluxgen Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -365,7 +365,7 @@ void Workspace::update(FbTk::Subject *subj) {
365 365
366 366
367void Workspace::setName(const std::string &name) { 367void Workspace::setName(const std::string &name) {
368 if (name.size() != 0) { 368 if (!name.empty()) {
369 m_name = name; 369 m_name = name;
370 } else { //if name == 0 then set default name from nls 370 } else { //if name == 0 then set default name from nls
371 char tname[128]; 371 char tname[128];