Merge pull request #17 from jrcutler/patch-1

Fix off by 1 error
This commit is contained in:
Paint Your Dragon committed 2013-07-04 20:13:43 -07:00
commit f14c0a2934
1 file changed
+1 -1
+1 -1
View File
@@ -375,7 +375,7 @@ void Adafruit_GFX::drawChar(int16_t x, int16_t y, unsigned char c,
if((x >= _width) || // Clip right
(y >= _height) || // Clip bottom
((x + 5 * size - 1) < 0) || // Clip left
((x + 6 * size - 1) < 0) || // Clip left
((y + 8 * size - 1) < 0)) // Clip top
return;