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.
This commit is contained in:
fluxgen 2001-12-13 20:38:38 +00:00
parent e903dfe020
commit ffd21832ea

View file

@ -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;