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);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
xzoom(const Arg *arg) {
|
||||
Arg larg;
|
||||
|
||||
larg.i = usedfontsize + arg->i;
|
||||
xzoomabs(&larg);
|
||||
}
|
||||
|
@ -3084,6 +3084,7 @@ xzoomabs(const Arg *arg) {
|
|||
void
|
||||
xzoomreset(const Arg *arg) {
|
||||
Arg larg;
|
||||
|
||||
if(defaultfontsize > 0) {
|
||||
larg.i = defaultfontsize;
|
||||
xzoomabs(&larg);
|
||||
|
|
Loading…
Reference in a new issue