Kaydet (Commit) e688d551 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: suggest a space before ';' or explicit braces around empty body in 'while' statement

üst 2ae1b4eb
...@@ -987,7 +987,8 @@ bool ATSLayout::InitGIA( ImplLayoutArgs* pArgs ) const ...@@ -987,7 +987,8 @@ bool ATSLayout::InitGIA( ImplLayoutArgs* pArgs ) const
// get to the end of the current sub-portion // get to the end of the current sub-portion
// prevent splitting up at diacritics etc. // prevent splitting up at diacritics etc.
int j = i; int j = i;
while( (++j < mnCharCount) && !mpCharWidths[j] ); while( (++j < mnCharCount) && !mpCharWidths[j] )
;
aSubPortion.mnEndCharPos = mnMinCharPos + j; aSubPortion.mnEndCharPos = mnMinCharPos + j;
// emit current sub-portion // emit current sub-portion
maSubPortions.push_back( aSubPortion ); maSubPortions.push_back( aSubPortion );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment