pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc8c5c8
)
Minor style changes for the last patch.
author
Christoph Lohmann
<20h@r-36.net>
Mon, 29 Sep 2014 13:40:37 +0000
(15:40 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Mon, 29 Sep 2014 13:40:37 +0000
(15:40 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
2b4d52c
..
c90bed1
100644
(file)
--- a/
st.c
+++ b/
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);