From dd6a33724261fb027b2a413ba36ab493718ac612 Mon Sep 17 00:00:00 2001 From: Scott Allen Date: Fri, 11 Mar 2016 16:38:15 -0500 Subject: [PATCH] Fix bug created when AbPrinter class was added --- examples/Buttons/Buttons.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Buttons/Buttons.ino b/examples/Buttons/Buttons.ino index 6bbd36d..dfc20ff 100644 --- a/examples/Buttons/Buttons.ino +++ b/examples/Buttons/Buttons.ino @@ -31,7 +31,7 @@ byte y; // To get the number of characters, we subtract 1 from the length of // the array because there will be a NULL terminator at the end. -#define NUM_CHARS (sizeof(text) - 1) +#define NUM_CHARS (sizeof(title) - 1) // This is the highest value that x can be without the end of the text // going farther than the right side of the screen. We add one because