mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Minor style changes for the last patch.
This commit is contained in:
parent
dc8c5c82aa
commit
63a07eb19c
1 changed files with 2 additions and 1 deletions
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 a new issue