shithub: orca

Download patch

ref: b65c16714cdd1b11a7cad2e416986e3ffcaa7838
parent: 7efd7e49120af31c6600effbe2f94b6618a020b5
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Feb 17 08:00:51 EST 2020

plan9: remove unused colors

--- a/plan9.c
+++ b/plan9.c
@@ -49,9 +49,7 @@
 	Dfmed,
 	Dflow,
 	Dfinv,
-	Dbhigh,
 	Dbmed,
-	Dblow,
 	Dbinv,
 	Numcolors,
 
@@ -65,11 +63,12 @@
 	Rune rune;
 };
 
-static Rune *linebuf;
-static vlong tick;
-static int rulerstyle = Sfancy, dotstyle = Sfancy;
 static int bpm = 120, apm = 120;
 static Point grid = {8, 8};
+static int rulerstyle = Sfancy, dotstyle = Sfancy;
+
+static Rune *linebuf;
+static vlong tick;
 static Point glyphsz;
 static Point cur;
 static Rectangle sel;
@@ -80,7 +79,7 @@
 static Field copyfield, selfield;
 static bool altdown, pause, forward;
 static int mode = Minsert;
-static long framedev; /* frame deviation >= 1ms */
+static long framedev; /* frame deviation in ms */
 static Rune *linebuf;
 
 static char *style[Numstyles] = {
@@ -124,9 +123,7 @@
 	[Dfmed] = 0x777777ff,
 	[Dflow] = 0x444444ff,
 	[Dfinv] = 0x000000ff,
-	[Dbhigh] = 0xddddddff,
 	[Dbmed] = 0x72dec2ff,
-	[Dblow] = 0x222222ff,
 	[Dbinv] = 0xffb545ff,
 };