#39726 typo in IMETextTxn.cpp
r=ftang a=waterson git-svn-id: svn://10.0.0.236/trunk@71824 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4f0f20e847
commit
352d9a5581
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user