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 b6474467bc
commit 04dab7df2c

View File

@ -228,7 +228,7 @@ namespace pxsim.basic {
clearScreen();
pause(interval * 5);
} 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);
}
}