Skip to content

Fix language not being correctly guessed when sentence ends in a dot

Albert Astals Cid requested to merge work/aacid/fix_script_detection into master

GuessLanguagePrivate::findRuns was incorrectly assuming that if scriptCounts.size() was 1 you could return script, but that's not correct since we skip the QChar::Script_Common, QChar::Script_Inherited and non letter characters, so script could be assigned to the wrong value

Merge request reports