| 493 | } |
| 494 | |
| 495 | inline int CLI_wrap( int kX, int const kLowerBound, int const kUpperBound ) |
| 496 | { |
| 497 | int range_size = kUpperBound - kLowerBound + 1; |
| 498 | |
| 499 | if ( kX < kLowerBound ) |
| 500 | kX += range_size * ((kLowerBound - kX) / range_size + 1); |
| 501 | |
| 502 | return kLowerBound + (kX - kLowerBound) % range_size; |
| 503 | } |
| 504 | |
| 505 | inline void CLI_saveHistory( char *buff ) |
| 506 | { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…