Bounds check -s <index> argument to be 0 <= index < nsize
authorKeith Packard <keithp@guitar.keithp.com>
Fri, 16 Mar 2007 03:57:17 +0000 (20:57 -0700)
committerKeith Packard <keithp@guitar.keithp.com>
Fri, 16 Mar 2007 03:57:17 +0000 (20:57 -0700)
commitca7a5bb5691ecd1d8da6def373c793aa7a07dbbe
tree5daa83d1e50dbee49489785b0720ad6d5bf16816
parent0cbbc7804781c2e55899ba9271365735c4a2b544
Bounds check -s <index> argument to be 0 <= index < nsize

Print a nice error message when the -s option is passed a number out of
bounds.
xrandr.c