summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-09 14:19:21 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-09 14:19:21 -0300
commit35cd2d06573f0f2edff4b8a1700f55516da47a51 (patch)
treedfefda79325173814c430fa37ec8563b45baa12c /diff.c
parentccdfc1c8d01fe4ec02cf3c9a6334373cb7ee272e (diff)
downloadeeshow-35cd2d06573f0f2edff4b8a1700f55516da47a51.tar.gz
eeshow-35cd2d06573f0f2edff4b8a1700f55516da47a51.tar.bz2
eeshow-35cd2d06573f0f2edff4b8a1700f55516da47a51.zip
eeshow/diff.c: make red a little less dominant
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/diff.c b/diff.c
index 114a5bf..bda0f08 100644
--- a/diff.c
+++ b/diff.c
@@ -37,6 +37,15 @@
#define MASK 0xffffff
+/* steal from schhist/ppmdiff.c */
+
+#define ONLY_OLD 0xff5050
+#define ONLY_NEW 0x00c000
+#define BOTH 0x707070
+
+#define AREA_FILL 0xffffc8
+
+
struct area {
int xa, ya, xb, yb;
@@ -178,15 +187,6 @@ fail_open:
}
-/* steal from schhist/ppmdiff.c */
-
-#define ONLY_OLD 0xff0000
-#define ONLY_NEW 0x00d000
-#define BOTH 0x707070
-
-#define AREA_FILL 0xffffc8
-
-
static void mark_area(struct diff *diff, int x, int y)
{
struct area *area;