diff options
author | Bert <ber.t@gmx.com> | 2011-01-18 20:11:28 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-18 20:11:28 +0100 |
commit | 79c7e6178e9b577158408157ec23a477556ecf16 (patch) | |
tree | abbefa4cd1b884ca19d396359b4e40dad0057589 /sxiv.h | |
parent | bb4edc756c7ceddb0f13194929cd1d363c85d653 (diff) |
Render image on window
Diffstat (limited to 'sxiv.h')
-rw-r--r-- | sxiv.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -23,6 +23,9 @@ #define VERSION "git-20110117" +#define MIN(a,b) ((a) < (b) ? (a) : (b)) +#define MAX(a,b) ((a) > (b) ? (a) : (b)) + #define WARN(...) \ do { \ fprintf(stderr, "sxiv: %s:%d: warning: ", __FILE__, __LINE__); \ @@ -30,7 +33,7 @@ fprintf(stderr, "\n"); \ } while (0) -#define DIE(...) \ +#define DIE(...) \ do { \ fprintf(stderr, "sxiv: %s:%d: error: ", __FILE__, __LINE__); \ fprintf(stderr, __VA_ARGS__); \ |