mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-18 01:30:56 +00:00
Ensures typers terminate.
This commit is contained in:
parent
9339f3413f
commit
c7f8f37822
@ -62,6 +62,7 @@ bool Typer::type_next_character() {
|
|||||||
if(!try_type_next_character()) {
|
if(!try_type_next_character()) {
|
||||||
phase_ = 0;
|
phase_ = 0;
|
||||||
string_pointer_++;
|
string_pointer_++;
|
||||||
|
if(string_pointer_ == string_.size()) return false;
|
||||||
} else {
|
} else {
|
||||||
phase_++;
|
phase_++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user