Fix build breakage

Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
This commit is contained in:
Ken Wakasa 2011-07-13 13:49:13 +09:00
parent 84cb23a789
commit 4f365403c5

View file

@ -1805,7 +1805,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (deleteChar) ic.deleteSurroundingText(1, 0); if (deleteChar) ic.deleteSurroundingText(1, 0);
final CharSequence textToTheLeft = ic.getTextBeforeCursor(mCommittedLength, 0); final CharSequence textToTheLeft = ic.getTextBeforeCursor(mCommittedLength, 0);
final int toDeleteLength = (!TextUtils.isEmpty(textToTheLeft) final int toDeleteLength = (!TextUtils.isEmpty(textToTheLeft)
&& mSettingsValues.isWordSeparator(toTheLeft.charAt(0))) && mSettingsValues.isWordSeparator(textToTheLeft.charAt(0)))
? mCommittedLength - 1 : mCommittedLength; ? mCommittedLength - 1 : mCommittedLength;
ic.deleteSurroundingText(toDeleteLength, 0); ic.deleteSurroundingText(toDeleteLength, 0);