mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-13 12:06:29 +00:00
75513575be
* store dependency's in git * since we vendor ... rm tech-depts * aad make target 'vendor' to update vendor folder (manual task)
9 lines
291 B
Go
9 lines
291 B
Go
// +build windows
|
|
|
|
package winterm
|
|
|
|
// AddInRange increments a value by the passed quantity while ensuring the values
|
|
// always remain within the supplied min / max range.
|
|
func addInRange(n int16, increment int16, min int16, max int16) int16 {
|
|
return ensureInRange(n+increment, min, max)
|
|
}
|