| tMinor style changes for the last patch. - st - [fork] customized build of st, … | |
| git clone git://src.adamsgaard.dk/st | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 63a07eb19c908ac86936b6f9857738107326d27a | |
| parent dc8c5c82aa14e75305bd5b0e42b4f8bba45702a8 | |
| Author: Christoph Lohmann <[email protected]> | |
| 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 | |
| t@@ -3064,10 +3064,10 @@ xunloadfonts(void) { | |
| xunloadfont(&dc.ibfont); | |
| } | |
| - | |
| void | |
| xzoom(const Arg *arg) { | |
| Arg larg; | |
| + | |
| larg.i = usedfontsize + arg->i; | |
| xzoomabs(&larg); | |
| } | |
| t@@ -3084,6 +3084,7 @@ xzoomabs(const Arg *arg) { | |
| void | |
| xzoomreset(const Arg *arg) { | |
| Arg larg; | |
| + | |
| if(defaultfontsize > 0) { | |
| larg.i = defaultfontsize; | |
| xzoomabs(&larg); |