History

fix ascii indentation when stopped exactly in the middle of the line

Sigrid Haflínudóttir committed 6 years ago

Commit fbfd6771 parent e2c59cc1 file · +2 −0Browse files

Unified · Split

hx.c+2−0
@@ -116,6 +116,8 @@ writes: · 115 unmodified lines
116116 if (sz >= 0) {
117117 if (eof == 0 && lineoff > 0 && lineoff < 16) {
118118 eof = 1;
119+ if (lineoff == 8)
120+ off--;
119121 for (; lineoff < 16; lineoff++) {
120122 line[lineoff] = 0;
121123 s[off++] = ' ';

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