aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-13 20:38:38 (GMT)
committerfluxgen <fluxgen>2001-12-13 20:38:38 (GMT)
commitffd21832eae05369685f930c2c5e0715515ed70c (patch)
treec2b1d226b524333144a71a36c8326b99fe0cd737 /src
parente903dfe0204e6141565a187e0cf90860f4abbba9 (diff)
downloadfluxbox-ffd21832eae05369685f930c2c5e0715515ed70c.zip
fluxbox-ffd21832eae05369685f930c2c5e0715515ed70c.tar.bz2
Moved all free functions in misc.cc/.hh into class Misc and moved
struct FFont to Misc::Font so there is no cyclic deps between Theme and Misc. Changed name of the fontalignments to upercase letters. Added strdup to class Misc.
Diffstat (limited to 'src')
-rw-r--r--src/BaseDisplay.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/BaseDisplay.cc b/src/BaseDisplay.cc
index c91bb01..dc719cd 100644
--- a/src/BaseDisplay.cc
+++ b/src/BaseDisplay.cc
@@ -218,14 +218,6 @@ void bexec(const char *command, char* displaystring) {
218#endif // !__EMX__ 218#endif // !__EMX__
219 219
220 220
221char *bstrdup(const char *s) {
222 int l = strlen(s) + 1;
223 char *n = new char[l];
224 strncpy(n, s, l);
225 return n;
226}
227
228
229BaseDisplay::BaseDisplay(char *app_name, char *dpy_name) { 221BaseDisplay::BaseDisplay(char *app_name, char *dpy_name) {
230 application_name = app_name; 222 application_name = app_name;
231 223