[wiki] [sites] [st] fix scrollback patch using 'git apply --recount' || Adrien Barilly

From: <git_AT_suckless.org>
Date: Fri, 14 Apr 2017 23:11:36 +0200

commit f9d3129a019587d3f9668d30ee39097baf9f1972
Author: Adrien Barilly <adrien.barilly_AT_gmail.com>
Date: Fri Apr 14 23:10:59 2017 +0200

    [st] fix scrollback patch using 'git apply --recount'

diff --git a/st.suckless.org/patches/st-scrollback-20170329-149c0d3.diff b/st.suckless.org/patches/st-scrollback-20170329-149c0d3.diff
index e7306fe..e202bda 100644
--- a/st.suckless.org/patches/st-scrollback-20170329-149c0d3.diff
+++ b/st.suckless.org/patches/st-scrollback-20170329-149c0d3.diff
_AT_@ -320,7 +320,7 @@ index 44d4938..2d9b028 100644
          GlyphFontSpec *specbuf; /* font spec buffer used for rendering */
          TCursor c; /* cursor */
 diff --git a/x.c b/x.c
-index b7339e9..0a2d951 100644
+index b7339e9..2ae8b17 100644
 --- a/x.c
 +++ b/x.c
 _AT_@ -1413,11 +1413,11 @@ drawregion(int x1, int y1, int x2, int y2)
_AT_@ -337,7 +337,7 @@ index b7339e9..0a2d951 100644
                          if (new.mode == ATTR_WDUMMY)
                                  continue;
                          if (ena_sel && selected(x, y))
-_AT_@ -1437,7 +1437,8 @@ drawregion(int x1, int y1, int x2, int y2)
+_AT_@ -1437,7 +1437,9 @@ drawregion(int x1, int y1, int x2, int y2)
                  if (i > 0)
                          xdrawglyphfontspecs(specs, base, i, ox, y);
          }
Received on Fri Apr 14 2017 - 23:11:36 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 14 2017 - 23:12:24 CEST