shithub: orca

Download patch

ref: 06f0f47a9dde43779913462a8e5ab5ccbf0c514a
parent: 650ff446e0a39b406db0db0acd079beca744a7e2
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Feb 22 05:41:32 EST 2020

plan9: fix drawing of rulers in selection

--- a/plan9.c
+++ b/plan9.c
@@ -548,7 +548,7 @@
 			if (c == '.')
 				c = styles[dotstyle].dot.r;
 
-			if (c == styles[dotstyle].dot.r && attr == 0) {
+			if (c == styles[dotstyle].dot.r && (attr & ~Mark_flag_selected) == 0) {
 				if ((x % rulers.x) == 0 && (y % rulers.y) == 0) {
 					rx = !!x + (x + 1) / field.width;
 					ry = !!y + (y + 1) / field.height;