зеркало из https://github.com/mozilla/pjs.git
6773: an nsresult was being checked before it was initialized. Appv'd chofmann
This commit is contained in:
Родитель
0b20aacbf6
Коммит
92ccf433f5
|
@ -1203,6 +1203,7 @@ NS_IMETHODIMP nsEditor::CreateTxnForInsertText(const nsString & aStringToInsert,
|
|||
if (aTextNode) {
|
||||
nodeAsText = do_QueryInterface(aTextNode);
|
||||
offset = 0;
|
||||
result = NS_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1203,6 +1203,7 @@ NS_IMETHODIMP nsEditor::CreateTxnForInsertText(const nsString & aStringToInsert,
|
|||
if (aTextNode) {
|
||||
nodeAsText = do_QueryInterface(aTextNode);
|
||||
offset = 0;
|
||||
result = NS_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче