diff options
author | Christoph Lohmann <20h@r-36.net> | 2014-09-29 15:40:37 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2014-09-29 15:40:37 +0200 |
commit | 63a07eb19c908ac86936b6f9857738107326d27a (patch) | |
tree | 578f15ae7e10fe85d75b482e7b1403aa395d54c4 | |
parent | dc8c5c82aa14e75305bd5b0e42b4f8bba45702a8 (diff) | |
download | st-63a07eb19c908ac86936b6f9857738107326d27a.tar.gz st-63a07eb19c908ac86936b6f9857738107326d27a.zip |
Minor style changes for the last patch.
-rw-r--r-- | st.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3064,10 +3064,10 @@ xunloadfonts(void) { | |||
3064 | xunloadfont(&dc.ibfont); | 3064 | xunloadfont(&dc.ibfont); |
3065 | } | 3065 | } |
3066 | 3066 | ||
3067 | |||
3068 | void | 3067 | void |
3069 | xzoom(const Arg *arg) { | 3068 | xzoom(const Arg *arg) { |
3070 | Arg larg; | 3069 | Arg larg; |
3070 | |||
3071 | larg.i = usedfontsize + arg->i; | 3071 | larg.i = usedfontsize + arg->i; |
3072 | xzoomabs(&larg); | 3072 | xzoomabs(&larg); |
3073 | } | 3073 | } |
@@ -3084,6 +3084,7 @@ xzoomabs(const Arg *arg) { | |||
3084 | void | 3084 | void |
3085 | xzoomreset(const Arg *arg) { | 3085 | xzoomreset(const Arg *arg) { |
3086 | Arg larg; | 3086 | Arg larg; |
3087 | |||
3087 | if(defaultfontsize > 0) { | 3088 | if(defaultfontsize > 0) { |
3088 | larg.i = defaultfontsize; | 3089 | larg.i = defaultfontsize; |
3089 | xzoomabs(&larg); | 3090 | xzoomabs(&larg); |