1// +build windows 2 3package winterm 4 5// AddInRange increments a value by the passed quantity while ensuring the values 6// always remain within the supplied min / max range. 7func AddInRange(n SHORT, increment SHORT, min SHORT, max SHORT) SHORT { 8 return ensureInRange(n+increment, min, max) 9} 10