This possibly avoids a crash on no-letters input
git-svn-id: https://cld2.googlecode.com/svn/trunk@170 b252ecd4-b096-bf77-eb8e-91563289f87e
This commit is contained in:
@@ -1054,7 +1054,9 @@ void ScriptScanner::LowerScriptSpan(LangSpan* span) {
|
|||||||
// Buffer ALWAYS has leading space and trailing space space space NUL
|
// Buffer ALWAYS has leading space and trailing space space space NUL
|
||||||
bool ScriptScanner::GetOneScriptSpanLower(LangSpan* span) {
|
bool ScriptScanner::GetOneScriptSpanLower(LangSpan* span) {
|
||||||
bool ok = GetOneScriptSpan(span);
|
bool ok = GetOneScriptSpan(span);
|
||||||
LowerScriptSpan(span);
|
if (ok) {
|
||||||
|
LowerScriptSpan(span);
|
||||||
|
}
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user