diff options
author | fluxgen <fluxgen> | 2001-12-13 20:41:52 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2001-12-13 20:41:52 (GMT) |
commit | 046d23487290f96cbefe953fb122baae87175318 (patch) | |
tree | 1de66d0f9eec5d696883f805502ca30858e542b3 | |
parent | ffd21832eae05369685f930c2c5e0715515ed70c (diff) | |
download | fluxbox_pavel-046d23487290f96cbefe953fb122baae87175318.zip fluxbox_pavel-046d23487290f96cbefe953fb122baae87175318.tar.bz2 |
Moved strdup into class Misc
-rw-r--r-- | src/BaseDisplay.hh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/BaseDisplay.hh b/src/BaseDisplay.hh index c25860e..9148eff 100644 --- a/src/BaseDisplay.hh +++ b/src/BaseDisplay.hh | |||
@@ -66,7 +66,17 @@ typedef struct _blackbox_attributes { | |||
66 | void bexec(const char *, char *); | 66 | void bexec(const char *, char *); |
67 | #endif // !__EMX__ | 67 | #endif // !__EMX__ |
68 | 68 | ||
69 | char *bstrdup(const char *); | 69 | |
70 | // Copyright (c) 2001 Henrik Kinnunen (fluxgen@linuxmail.org) | ||
71 | // | ||
72 | // Screen.hh for Blackbox - an X11 Window manager | ||
73 | // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) | ||
74 | // | ||
75 | // Permission is hereby granted, free of charge, to any person obtaining a | ||
76 | // copy of this software and associated documentation files (the "Software"), | ||
77 | // to deal in the Software without restriction, including without limitation | ||
78 | // the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
79 | // and/or sell copies of the Softwar | ||
70 | template <typename Z> inline Z min(Z a, Z b) { return ((a < b) ? a : b); } | 80 | template <typename Z> inline Z min(Z a, Z b) { return ((a < b) ? a : b); } |
71 | template <typename Z> inline Z max(Z a, Z b) { return ((a > b) ? a : b); } | 81 | template <typename Z> inline Z max(Z a, Z b) { return ((a > b) ? a : b); } |
72 | 82 | ||