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.
fluxgen fluxgen
1 files changed,
0 insertions(+),
8 deletions(-)
jump to
M
src/BaseDisplay.cc
→
src/BaseDisplay.cc
@@ -218,14 +218,6 @@ }
#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;