shithub: patch

Download patch

ref: 24ecd096b9a34a0ea343ff83dac129dbb93ddd8f
parent: 7d6d832eae980d69af1357c5a5db6129c10d3d01
author: qwx <qwx@sciops.net>
date: Sun Dec 6 18:02:02 EST 2020

rio-col: fix fuckup

--- a/rio-col
+++ b/rio-col
@@ -1,7 +1,7 @@
-diff -r c055db14ff2b sys/src/cmd/rio/data.c
---- a/sys/src/cmd/rio/data.c	Sun Dec 06 14:50:50 2020 +0100
-+++ b/sys/src/cmd/rio/data.c	Sun Dec 06 15:08:42 2020 +0100
-@@ -175,31 +175,20 @@
+diff -r 1221b9519cb7 sys/src/cmd/rio/data.c
+--- a/sys/src/cmd/rio/data.c	Sun Dec 06 22:06:32 2020 +0100
++++ b/sys/src/cmd/rio/data.c	Sun Dec 06 23:58:46 2020 +0100
+@@ -175,30 +175,20 @@
  void
  iconinit(void)
  {
@@ -27,7 +27,6 @@
 -	paleholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPalegreyblue);
 -	paletextcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x666666FF^reverse);
 -	sizecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DRed);
--	badsizecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x880000FF);
 -
 -	if(reverse == 0)
 -		holdcol = dholdcol;
@@ -45,5 +44,5 @@
 +	paleholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x333333FF);
 +	paletextcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x550000FF);
 +	sizecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x550000FF);
-+	badsizecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xAA0000FF);
++	holdcol = dholdcol;
  }