History

plan9: draw rulers properly in case they are in a comment

Sigrid Haflínudóttir committed 6 years ago

Commit 1aec5b51 parent 303324c1 file · +1 −1Browse files

Unified · Split

plan9.c+1−1
@@ -835,7 +835,7 @@ redraw(int complete) · 834 unmodified lines
835835 if (c == '.')
836836 c = styles[dotstyle].dot.r;
837837
838− if (c == styles[dotstyle].dot.r && (attr & ~Mark_flag_selected) == 0) {
838+ if (c == styles[dotstyle].dot.r && (attr & ~(Mark_flag_selected|Mark_flag_lock)) == 0) {
839839 if ((x % rulers.x) == 0 && (y % rulers.y) == 0) {
840840 rx = !!x + (x + 1) / field.width;
841841 ry = !!y + (y + 1) / field.height;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t