One letter showString shouldn't disappear (#338)

* Fix for "One letter showString shouldn't disappear", fixes #798

* miss semicolon
This commit is contained in:
chmora 2017-01-10 16:25:40 -08:00 committed by Peli de Halleux
parent 5be188d6e7
commit 64aa0fd6f5

View File

@ -223,7 +223,7 @@ namespace pxsim.basic {
clearScreen(); clearScreen();
pause(interval * 5); pause(interval * 5);
} else { } else {
if (s.length == 1) showLeds(createImageFromString(s + " "), interval * 5) if (s.length == 1) showLeds(createImageFromString(s), 0);
else ImageMethods.scrollImage(createImageFromString(s + " "), 1, interval); else ImageMethods.scrollImage(createImageFromString(s + " "), 1, interval);
} }
} }