[hackers] [st] Minor style changes for the last patch. || Christoph Lohmann
commit 63a07eb19c908ac86936b6f9857738107326d27a
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Mon Sep 29 15:40:37 2014 +0200
Minor style changes for the last patch.
diff --git a/st.c b/st.c
index 2b4d52c..c90bed1 100644
--- a/st.c
+++ b/st.c
_AT_@ -3064,10 +3064,10 @@ xunloadfonts(void) {
xunloadfont(&dc.ibfont);
}
-
void
xzoom(const Arg *arg) {
Arg larg;
+
larg.i = usedfontsize + arg->i;
xzoomabs(&larg);
}
_AT_@ -3084,6 +3084,7 @@ xzoomabs(const Arg *arg) {
void
xzoomreset(const Arg *arg) {
Arg larg;
+
if(defaultfontsize > 0) {
larg.i = defaultfontsize;
xzoomabs(&larg);
Received on Mon Sep 29 2014 - 15:40:56 CEST
This archive was generated by hypermail 2.3.0
: Mon Sep 29 2014 - 15:48:14 CEST