#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:
shanjian%netscape.com 2000-06-08 23:40:31 +00:00
parent 4f0f20e847
commit 352d9a5581
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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