mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
b42ebd375c
commit
f68ca3b9bf
@ -876,7 +876,7 @@ nsTextBoxFrame::UpdateAccessTitle()
|
||||
}
|
||||
|
||||
if (InsertSeparatorBeforeAccessKey() &&
|
||||
!NS_IS_SPACE(mTitle[offset - 1])) {
|
||||
offset > 0 && !NS_IS_SPACE(mTitle[offset - 1])) {
|
||||
mTitle.Insert(' ', offset);
|
||||
offset++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user