Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
psemiletov committed Apr 22, 2021
1 parent 8a64435 commit a081e08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3287,7 +3287,9 @@ void CTEA::fn_case_cap_sentences()

for (int i = 0; i < t.size(); i++)
{
if (t.at(i) == '.')
QChar c = t.at(i);

if (c == '.' || c == '?' || c == '!')
{
cap = true;
continue;
Expand Down

0 comments on commit a081e08

Please sign in to comment.