зеркало из https://github.com/mozilla/gecko-dev.git
Родитель
e1c5906176
Коммит
5ca3f53ba7
|
@ -164,7 +164,7 @@ NS_IMETHODIMP IMETextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction)
|
|||
//
|
||||
IMETextTxn* otherTxn = nsnull;
|
||||
result = aTransaction->QueryInterface(IMETextTxn::GetCID(),(void**)&otherTxn);
|
||||
if (otherTxn && NS_SUCCEEDED(NS_OK))
|
||||
if (otherTxn && NS_SUCCEEDED(result))
|
||||
{
|
||||
//
|
||||
// we absorbe the next IME transaction by adopting it's insert string as our own
|
||||
|
|
|
@ -164,7 +164,7 @@ NS_IMETHODIMP IMETextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction)
|
|||
//
|
||||
IMETextTxn* otherTxn = nsnull;
|
||||
result = aTransaction->QueryInterface(IMETextTxn::GetCID(),(void**)&otherTxn);
|
||||
if (otherTxn && NS_SUCCEEDED(NS_OK))
|
||||
if (otherTxn && NS_SUCCEEDED(result))
|
||||
{
|
||||
//
|
||||
// we absorbe the next IME transaction by adopting it's insert string as our own
|
||||
|
|
Загрузка…
Ссылка в новой задаче