Commits
Toby Peterson authored cc46e3e0b0c
1 + | --- src/command.c.orig 2008-07-09 14:33:36.000000000 -0700 |
2 + | +++ src/command.c 2019-02-18 20:32:39.000000000 -0800 |
3 + | |
4 + | i = ch - CSI_ICH; |
5 + | ndef = get_byte_array_bit(csi_defaults, i); |
6 + | for (p = 0; p < nargs; p++) |
7 + | - if (arg[p] == -1) |
8 + | + if (arg[p] < 0 || arg[p] > 30000) |
9 + | arg[p] = ndef; |
10 + | |
11 + | #ifdef DEBUG |