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:
parent
e903dfe020
commit
ffd21832ea
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue