Commit 93b54cf

noname <noname@inventati.org>
2015-04-09 16:04:43
Use MAX macro where possible.
1 parent 6f5f770
Changed files (1)
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();