Minor style changes for the last patch.

dev
Christoph Lohmann 2014-09-29 15:40:37 +02:00
parent dc8c5c82aa
commit 63a07eb19c
1 changed files with 2 additions and 1 deletions

3
st.c
View File

@ -3064,10 +3064,10 @@ xunloadfonts(void) {
xunloadfont(&dc.ibfont); xunloadfont(&dc.ibfont);
} }
void void
xzoom(const Arg *arg) { xzoom(const Arg *arg) {
Arg larg; Arg larg;
larg.i = usedfontsize + arg->i; larg.i = usedfontsize + arg->i;
xzoomabs(&larg); xzoomabs(&larg);
} }
@ -3084,6 +3084,7 @@ xzoomabs(const Arg *arg) {
void void
xzoomreset(const Arg *arg) { xzoomreset(const Arg *arg) {
Arg larg; Arg larg;
if(defaultfontsize > 0) { if(defaultfontsize > 0) {
larg.i = defaultfontsize; larg.i = defaultfontsize;
xzoomabs(&larg); xzoomabs(&larg);