aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-06 11:07:42 (GMT)
committerfluxgen <fluxgen>2002-01-06 11:07:42 (GMT)
commit68d83ecc98409b3de783b3f213951018fd258a54 (patch)
tree4c0d1c9c7427208e84deaf368cee44637b23626f /src/Workspace.cc
parentad3923a371d8f64a506cbaacb170a911be73093a (diff)
downloadfluxbox_pavel-68d83ecc98409b3de783b3f213951018fd258a54.zip
fluxbox_pavel-68d83ecc98409b3de783b3f213951018fd258a54.tar.bz2
Changed Misc::
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 5ce3771..ec61e39 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -40,6 +40,7 @@
40#include "Window.hh" 40#include "Window.hh"
41#include "Workspace.hh" 41#include "Workspace.hh"
42#include "Windowmenu.hh" 42#include "Windowmenu.hh"
43#include "StringUtil.hh"
43 44
44#ifdef HAVE_STDIO_H 45#ifdef HAVE_STDIO_H
45# include <stdio.h> 46# include <stdio.h>
@@ -49,10 +50,6 @@
49# include <string.h> 50# include <string.h>
50#endif // STDC_HEADERS 51#endif // STDC_HEADERS
51 52
52#define MIN(x,y) ((x < y) ? x : y)
53#define MAX(x,y) ((x > y) ? x : y)
54
55
56Workspace::Workspace(BScreen *scrn, int i) { 53Workspace::Workspace(BScreen *scrn, int i) {
57 screen = scrn; 54 screen = scrn;
58 55
@@ -309,7 +306,7 @@ void Workspace::setName(char *new_name) {
309 delete [] name; 306 delete [] name;
310 307
311 if (new_name) { 308 if (new_name) {
312 name = Misc::strdup(new_name); 309 name = StringUtil::strdup(new_name);
313 } else { 310 } else {
314 name = new char[128]; 311 name = new char[128];
315 sprintf(name, I18n::instance()-> 312 sprintf(name, I18n::instance()->