Use get() instead of ==

This commit is contained in:
putterman%netscape.com 1999-11-11 01:22:59 +00:00
parent b05754f50e
commit 7a34491281
2 changed files with 2 additions and 2 deletions

View File

@ -1229,7 +1229,7 @@ XULSortServiceImpl::SortTreeChildren(nsIContent *container, PRInt32 colIndex, so
} }
/* smart sorting (sort within separators) on name column */ /* smart sorting (sort within separators) on name column */
if (sortInfo->sortProperty == kNC_Name) if (sortInfo->sortProperty.get() == kNC_Name)
{ {
PRUint32 startIndex=0; PRUint32 startIndex=0;
for (loop=0; loop<numElements; loop++) for (loop=0; loop<numElements; loop++)

View File

@ -1229,7 +1229,7 @@ XULSortServiceImpl::SortTreeChildren(nsIContent *container, PRInt32 colIndex, so
} }
/* smart sorting (sort within separators) on name column */ /* smart sorting (sort within separators) on name column */
if (sortInfo->sortProperty == kNC_Name) if (sortInfo->sortProperty.get() == kNC_Name)
{ {
PRUint32 startIndex=0; PRUint32 startIndex=0;
for (loop=0; loop<numElements; loop++) for (loop=0; loop<numElements; loop++)