st
simple terminal
git clone https://9o.is/git/st.git
commit 1997475d59dee471ab0248c2c94a6d0b7b62199b parent f1cf5f03d9fd82b1290ab756c37caae02d766224 Author: noname <noname@inventati.org> 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 @@ -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();