From ffd21832eae05369685f930c2c5e0715515ed70c Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 13 Dec 2001 20:38:38 +0000 Subject: 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. --- src/BaseDisplay.cc | 8 -------- 1 file changed, 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) { #endif // !__EMX__ -char *bstrdup(const char *s) { - int l = strlen(s) + 1; - char *n = new char[l]; - strncpy(n, s, l); - return n; -} - - BaseDisplay::BaseDisplay(char *app_name, char *dpy_name) { application_name = app_name; -- cgit v0.11.2