diff options
author | June McEnroe <june@causal.agency> | 2018-04-09 00:41:52 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-04-09 00:41:52 -0400 |
commit | 2e0cd8a26115edd5ba2cfc8b798c3ba67d980ed4 (patch) | |
tree | d769946d07ace7aae760a202b04a4798c56a6030 /bin/glitch.c | |
parent | static_assert PNG header size in pngo and glitch (diff) | |
download | src-2e0cd8a26115edd5ba2cfc8b798c3ba67d980ed4.tar.gz src-2e0cd8a26115edd5ba2cfc8b798c3ba67d980ed4.zip |
Use enum instead of #define for some constants
Diffstat (limited to '')
-rw-r--r-- | bin/glitch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/glitch.c b/bin/glitch.c index 71664115..5280d7e2 100644 --- a/bin/glitch.c +++ b/bin/glitch.c @@ -261,8 +261,8 @@ enum PACKED Filter { UP, AVERAGE, PAETH, + FILTER_COUNT, }; -#define FILTER_COUNT (PAETH + 1) static struct { bool brokenPaeth; |