mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
remove tabs accidentally added in b06c1085caab
--HG-- extra : rebase_source : 73d5460c346ac2e4ebf21a84802971edb2f2482b
This commit is contained in:
parent
c24aed7c31
commit
5f68fc773c
@ -204,7 +204,7 @@ mozSpellChecker::Replace(const nsAString &aOldWord, const nsAString &aNewWord, P
|
||||
// move the selection point forwards
|
||||
if((currentBlock == startBlock)&&(begin < selOffset)){
|
||||
selOffset +=
|
||||
PRInt32(aNewWord.Length()) - PRInt32(aOldWord.Length());
|
||||
PRInt32(aNewWord.Length()) - PRInt32(aOldWord.Length());
|
||||
if(selOffset < begin) selOffset=begin;
|
||||
}
|
||||
mTsDoc->SetSelection(begin, end-begin);
|
||||
|
Loading…
Reference in New Issue
Block a user