diff --git a/accessible/src/msaa/nsAccessibleWrap.cpp b/accessible/src/msaa/nsAccessibleWrap.cpp index 85fa04c0da5..25d4ee39262 100644 --- a/accessible/src/msaa/nsAccessibleWrap.cpp +++ b/accessible/src/msaa/nsAccessibleWrap.cpp @@ -1402,7 +1402,7 @@ nsAccessibleWrap::get_attributes(BSTR *aAttributes) offset = 0; while ((offset = value.FindCharInSet(kCharsToEscape, offset)) != kNotFound) { - name.Insert('\\', offset); + value.Insert('\\', offset); offset += 2; }