diff options
author | noname <noname@inventati.org> | 2015-04-09 20:04:43 +0000 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-04-10 23:34:06 +0200 |
commit | 93b54cfcc437c9bac9af3ceb2d9ba19c442de1ff (patch) | |
tree | 6c415b86bec750121de0f7be932eb432631a46a2 /st.c | |
parent | 6f5f7701864e6987544cb7e7dc5f2d24db1a4537 (diff) | |
download | st-93b54cfcc437c9bac9af3ceb2d9ba19c442de1ff.tar.gz st-93b54cfcc437c9bac9af3ceb2d9ba19c442de1ff.tar.bz2 |
Use MAX macro where possible.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |