Skip to content

Commit

Permalink
Adds new line to all start of non-english-text
Browse files Browse the repository at this point in the history
Fixes tsukihime spanish translation.
  • Loading branch information
matthewn4444 committed Jul 3, 2020
1 parent cb673e0 commit 3957a33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/cpp/onscripter/ONScripter_text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ bool ONScripter::processText()
// Check next line for English text and see if it is lowercase then skip new line
char* next = script_h.getNext() + 1;
if (next[0] == '`') { // Using 1 Byte English text
sentence_font.newLine();
if (next[1] == ' ') {
// See if the first non-spaced character is lowercase, if it is then skip new line
int i = 1;
Expand Down

0 comments on commit 3957a33

Please sign in to comment.