aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-21 14:14:40 (GMT)
committerfluxgen <fluxgen>2004-01-21 14:14:40 (GMT)
commit5e5118b4e3b283220533aa4845e879150ae705ee (patch)
tree54686f39a478492fe64e56f8fb8cf39a370f22e6 /src/Workspace.cc
parent9c0272004e2509a2206d94dfbe30bb035c8c6d67 (diff)
downloadfluxbox-5e5118b4e3b283220533aa4845e879150ae705ee.zip
fluxbox-5e5118b4e3b283220533aa4845e879150ae705ee.tar.bz2
using empty instead of size
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];