save game

This commit is contained in:
Gerrit Viljoen 2020-05-17 11:55:28 +02:00
parent a93a2a8eb3
commit 0e5bf71313

View File

@ -405,7 +405,7 @@ impl SmartString {
.map(|(_, string)| string)
.next();
if let Some(fragment) = first_fragment {
fragment.push(ch);
fragment.insert(0, ch);
} else {
self.fragments.insert(0, (true, ch.to_string()));
}