mirror of
https://github.com/pikami/st.git
synced 2024-11-29 07:15:43 +00:00
Minor style changes for the last patch.
This commit is contained in:
parent
dc8c5c82aa
commit
63a07eb19c
3
st.c
3
st.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user