diff --git a/mozilla/editor/libeditor/html/nsWSRunObject.cpp b/mozilla/editor/libeditor/html/nsWSRunObject.cpp
index 585ae777f65..ac5c1ca921e 100644
--- a/mozilla/editor/libeditor/html/nsWSRunObject.cpp
+++ b/mozilla/editor/libeditor/html/nsWSRunObject.cpp
@@ -877,7 +877,7 @@ nsWSRunObject::GetWSNodes()
mFirstNBSPOffset = pos;
}
}
- end.SetPoint(mNode,pos);
+ end.SetPoint(mNode,pos+1);
}
}
}