diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-20 23:34:49 +0200 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-20 23:38:31 +0200 |
| commit | 646b351cc79845f4cc77415dfff474b9ae0053d9 (patch) | |
| tree | d3de639691f7f845a705007e93560160d3b3ee5c /util.h | |
| parent | dwm: use ecalloc, prevent theoretical overflow (diff) | |
| download | dwm-646b351cc79845f4cc77415dfff474b9ae0053d9.tar.gz dwm-646b351cc79845f4cc77415dfff474b9ae0053d9.zip | |
sync updated drw code from dmenu
important:
- drw_rect: didn't use w and h, change the dwm code accordingly.
- drw_text: text is NULL is not allowed, use drw_rect().
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -5,3 +5,4 @@ | |||
| 5 | #define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B)) | 5 | #define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B)) |
| 6 | 6 | ||
| 7 | void die(const char *errstr, ...); | 7 | void die(const char *errstr, ...); |
| 8 | void *ecalloc(size_t, size_t); | ||
