diff --git a/acme.diff b/acme.diff index 2460289..329efbb 100644 --- a/acme.diff +++ b/acme.diff @@ -48,7 +48,7 @@ index e5658a4e..2c79b387 100644 r = Rect(0, 0, Scrollwid+ButtonBorder, font->height+1); diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c -index 09422dda..292dcd47 100644 +index 09422dda..14372418 100644 --- a/src/cmd/acme/text.c +++ b/src/cmd/acme/text.c @@ -694,8 +694,16 @@ texttype(Text *t, Rune r) @@ -80,7 +80,7 @@ index 09422dda..292dcd47 100644 + nnb = 0; + if(t->q0 > 0 && textreadc(t, t->q0-1) != '\n') + nnb = textbswidth(t, 0x15); -+ if(t->q0-nnb > 1) ++ if(t->q0-nnb > 0) + textshow(t, t->q0-nnb-1, t->q0-nnb-1, TRUE); + return; case Kscrolloneup: