Browse Source

Fix calculating text speed for text containing line breaks

pull/922/head^2
Anders Jenbo 5 years ago
parent
commit
bf02e0710b
  1. 2
      Source/minitext.cpp

2
Source/minitext.cpp

@ -109,6 +109,8 @@ int GetLinesInText(const char *text)
while (!doneflag) {
doneflag = BuildLine(text, line);
text += strlen(line);
if (*text == '\n')
text++;
lines++;
}

Loading…
Cancel
Save