commit | f6adc21c553726b826cd51661af2b81aa9b52ebe | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sun May 26 17:05:01 2013 -0700 |
committer | Brian Silverman <brians> | Sun May 26 17:05:01 2013 -0700 |
tree | 9ddee29b9c8d5f1a4e7711d0daf6a887ed844efa | |
parent | 71370b503ec526e43b40a509a44f4c9d279d9621 [diff] |
fixed the same off-by-1 in a second place
diff --git a/aos/externals/WPILib/WPILib/NetworkRobot/NetworkRobotValues.h b/aos/externals/WPILib/WPILib/NetworkRobot/NetworkRobotValues.h index d02e8bd..c8a6117 100644 --- a/aos/externals/WPILib/WPILib/NetworkRobot/NetworkRobotValues.h +++ b/aos/externals/WPILib/WPILib/NetworkRobot/NetworkRobotValues.h
@@ -143,7 +143,7 @@ } // Returns whether or not we ran over the end. - bool overrun() const { return current_index_ >= data_size_; } + bool overrun() const { return current_index_ > data_size_; } private: // Where we are reading or writing from. Not owned by this object.