Karl Zweimüller / TextLCDScroll

Dependents:   RF22_MAX_test_Send

Revision:
4:92a07dbc9222
Parent:
3:1d7a7a249647
Child:
5:e3b565c4190c
--- a/TextLCDScroll.cpp	Tue Mar 12 19:40:29 2013 +0000
+++ b/TextLCDScroll.cpp	Tue Mar 12 20:00:04 2013 +0000
@@ -82,7 +82,7 @@
 
             locate(j,i);
             // is string shorter than width of display
-            if (strlen(line[i]) < columns()) {
+            if (strlen(line[i]) <= columns()) {
                 if (j < strlen(line[i])) {
                     putc(line[i][j]);
                 } else {
@@ -128,7 +128,7 @@
 
             locate(j,i);
             // is string shorter than width of display
-            if (strlen(line[i]) < columns()) {
+            if (strlen(line[i]) <= columns()) {
                 if (j < strlen(line[i])) {
                     putc(line[i][j]);
                 } else {