Browse Source

Use MAX macro where possible.

master
noname 9 years ago
committed by Roberto E. Vargas Caballero
parent
commit
93b54cfcc4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

@ -4072,7 +4072,7 @@ main(int argc, char *argv[]) {
run: run:
setlocale(LC_CTYPE, ""); setlocale(LC_CTYPE, "");
XSetLocaleModifiers(""); XSetLocaleModifiers("");
tnew(cols? cols : 1, rows? rows : 1);
tnew(MAX(cols, 1), MAX(rows, 1));
xinit(); xinit();
selinit(); selinit();
run(); run();


Loading…
Cancel
Save