Introduction
Introduction Statistics Contact Development Disclaimer Help
tUse MAX macro where possible. - st - [fork] customized build of st, the simple…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 93b54cfcc437c9bac9af3ceb2d9ba19c442de1ff
parent 6f5f7701864e6987544cb7e7dc5f2d24db1a4537
Author: noname <[email protected]>
Date: Thu, 9 Apr 2015 20:04:43 +0000
Use MAX macro where possible.
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/st.c b/st.c
t@@ -4072,7 +4072,7 @@ main(int argc, char *argv[]) {
run:
setlocale(LC_CTYPE, "");
XSetLocaleModifiers("");
- tnew(cols? cols : 1, rows? rows : 1);
+ tnew(MAX(cols, 1), MAX(rows, 1));
xinit();
selinit();
run();
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.