зеркало из https://github.com/mozilla/gecko-dev.git
Bug 564705. Don't try to insert a separating space at the start of the XUL textbox title. r=neil
This commit is contained in:
Родитель
f4f12f1dd1
Коммит
5fa5002e00
|
@ -876,7 +876,7 @@ nsTextBoxFrame::UpdateAccessTitle()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (InsertSeparatorBeforeAccessKey() &&
|
if (InsertSeparatorBeforeAccessKey() &&
|
||||||
!NS_IS_SPACE(mTitle[offset - 1])) {
|
offset > 0 && !NS_IS_SPACE(mTitle[offset - 1])) {
|
||||||
mTitle.Insert(' ', offset);
|
mTitle.Insert(' ', offset);
|
||||||
offset++;
|
offset++;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче