st
simple terminal
git clone https://9o.is/git/st.git
commit a01ad1b18a460bcc525f18d13ff825298e42b88e parent 239fbe20c7deae6ca281dd0e0fa60451cc2f1655 Author: Christoph Lohmann <20h@r-36.net> Date: Mon, 29 Sep 2014 15:40:37 +0200 Minor style changes for the last patch. Diffstat:
| M | st.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/st.c b/st.c @@ -3064,10 +3064,10 @@ xunloadfonts(void) { xunloadfont(&dc.ibfont); } - void xzoom(const Arg *arg) { Arg larg; + larg.i = usedfontsize + arg->i; xzoomabs(&larg); } @@ -3084,6 +3084,7 @@ xzoomabs(const Arg *arg) { void xzoomreset(const Arg *arg) { Arg larg; + if(defaultfontsize > 0) { larg.i = defaultfontsize; xzoomabs(&larg);