diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-05 19:30:05 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-05 19:30:05 +0100 |
commit | 6e51f46781346a86d4862936ba8b7fa75ae58126 (patch) | |
tree | 91204d219102ae86d72c51f06011ffdec0fc5ed1 /src/colorramp.c | |
parent | Cleanup and style update (avoid typedef) (diff) | |
download | redshift-ng-6e51f46781346a86d4862936ba8b7fa75ae58126.tar.gz redshift-ng-6e51f46781346a86d4862936ba8b7fa75ae58126.tar.bz2 redshift-ng-6e51f46781346a86d4862936ba8b7fa75ae58126.tar.xz |
Nicer X macros
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/colorramp.c')
-rw-r--r-- | src/colorramp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/colorramp.c b/src/colorramp.c index 41233d5..80f11fd 100644 --- a/src/colorramp.c +++ b/src/colorramp.c @@ -38,5 +38,4 @@ for (i = 0; i < size_b; i++) gamma_b[i] = F((double)i / size_b, b, 2) * (MAX);\ } -LIST_RAMPS_STOP_VALUE_TYPES -#undef X +LIST_RAMPS_STOP_VALUE_TYPES(X,) |