diff options
author | fluxgen <fluxgen> | 2001-12-13 20:38:38 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2001-12-13 20:38:38 (GMT) |
commit | ffd21832eae05369685f930c2c5e0715515ed70c (patch) | |
tree | c2b1d226b524333144a71a36c8326b99fe0cd737 | |
parent | e903dfe0204e6141565a187e0cf90860f4abbba9 (diff) | |
download | fluxbox_pavel-ffd21832eae05369685f930c2c5e0715515ed70c.zip fluxbox_pavel-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.
-rw-r--r-- | src/BaseDisplay.cc | 8 |
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 | ||
221 | char *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 | |||
229 | BaseDisplay::BaseDisplay(char *app_name, char *dpy_name) { | 221 | BaseDisplay::BaseDisplay(char *app_name, char *dpy_name) { |
230 | application_name = app_name; | 222 | application_name = app_name; |
231 | 223 | ||