aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index 2b4d52c..c90bed1 100644
--- a/st.c
+++ b/st.c
@@ -3064,10 +3064,10 @@ xunloadfonts(void) {
3064 xunloadfont(&dc.ibfont); 3064 xunloadfont(&dc.ibfont);
3065} 3065}
3066 3066
3067
3068void 3067void
3069xzoom(const Arg *arg) { 3068xzoom(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) {
3084void 3084void
3085xzoomreset(const Arg *arg) { 3085xzoomreset(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);