1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Ensures typers terminate.

This commit is contained in:
Thomas Harte 2017-12-30 13:46:30 -05:00
parent 9339f3413f
commit c7f8f37822

View File

@ -62,6 +62,7 @@ bool Typer::type_next_character() {
if(!try_type_next_character()) {
phase_ = 0;
string_pointer_++;
if(string_pointer_ == string_.size()) return false;
} else {
phase_++;
}