Merge pull request #2044 from dabinat/word-timings

Fix spaces being appended to word
This commit is contained in:
lissyx 2019-04-12 08:48:28 +02:00 committed by GitHub
commit 718fd437ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,7 @@ WordsFromMetadata(Metadata* metadata)
// Append character to word if it's not a space
if (strcmp(item.character, " ") != 0
|| strcmp(item.character, u8" ") != 0) {
&& strcmp(item.character, u8" ") != 0) {
word.append(item.character);
}